* [sisyphus] git log: exit status
@ 2009-01-12 16:30 Slava Semushin
2009-01-12 16:35 ` Eugene Ostapets
2009-01-12 16:45 ` Dmitry V. Levin
0 siblings, 2 replies; 3+ messages in thread
From: Slava Semushin @ 2009-01-12 16:30 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Здравствуйте!
Заметил следующее:
$ 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
Обновил буквально вчера, до этого таких проблем не замечал.
Это только у меня так? Баг?
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sisyphus] git log: exit status
2009-01-12 16:30 [sisyphus] git log: exit status Slava Semushin
@ 2009-01-12 16:35 ` Eugene Ostapets
2009-01-12 16:45 ` Dmitry V. Levin
1 sibling, 0 replies; 3+ messages in thread
From: Eugene Ostapets @ 2009-01-12 16:35 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
2009/1/12 Slava Semushin <slava.semushin gmail.com>:
> Здравствуйте!
> git-core-1.6.1-alt1
Только что обновился до этой версии
>
> Обновил буквально вчера, до этого таких проблем не замечал.
>
> Это только у меня так? Баг?
Все работает аки часики, так что не подтверждаю...
--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sisyphus] git log: exit status
2009-01-12 16:30 [sisyphus] git log: exit status Slava Semushin
2009-01-12 16:35 ` Eugene Ostapets
@ 2009-01-12 16:45 ` Dmitry V. Levin
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2009-01-12 16:45 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-12 16:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-12 16:30 [sisyphus] git log: exit status Slava Semushin
2009-01-12 16:35 ` Eugene Ostapets
2009-01-12 16:45 ` Dmitry V. Levin
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