ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] git log: exit status
Date: Mon, 12 Jan 2009 19:45:10 +0300
Message-ID: <20090112164510.GJ32222@wo.int.altlinux.org> (raw)
In-Reply-To: <75e139a00901120830h4ba4f0a9n3b61b70445a29cc9@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]

On Mon, Jan 12, 2009 at 10:30:23PM +0600, Slava Semushin wrote:
> Здравствуйте!
> 
> Заметил следующее:
> 
> $ git log
> [нажимаем q для выхода
> $ echo $?
> 141
> 
> Под strace вижу:
> 
> [...]
> open("/etc/localtime", O_RDONLY)        = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1944, ...}) = 0
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1944, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7f2a000
> read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"...,
> 4096) = 1944
> _llseek(3, -30, [1914], SEEK_CUR)       = 0
> read(3, "\nNOVT-6NOVST,M3.5.0,M10.5.0/3\n", 4096) = 30
> close(3)                                = 0
> munmap(0xb7f2a000, 4096)                = 0
> fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> write(1, "\33[33mcommit ee1e2eeb8d3608e9246f"..., 547) = -1 EPIPE (Broken pipe)
> --- SIGPIPE (Broken pipe) @ 0 (0) ---
> +++ killed by SIGPIPE +++
> Process 6149 detached
> 
> git-core-1.6.1-alt1
> 
> Обновил буквально вчера, до этого таких проблем не замечал.

Это изменение в реализации $PAGER'а в git-1.6.1, раньше вместо кода
завершения программы был код завершения $PAGER'а.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

      parent reply	other threads:[~2009-01-12 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 16:30 Slava Semushin
2009-01-12 16:35 ` Eugene Ostapets
2009-01-12 16:45 ` Dmitry V. Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090112164510.GJ32222@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git