Code

git-log: detect dup and fdopen failure
authorJim Meyering <jim@meyering.net>
Wed, 27 Jun 2007 14:28:53 +0000 (16:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2007 04:02:44 +0000 (21:02 -0700)
commitf57882505efe05990102a0d96b37c09baadae03d
tree416b045a8020aaf06209f1883d0e4fb10d68c204
parent5483c71d7ac06b4f16c646886abbb2d0f88a2855
git-log: detect dup and fdopen failure

This defines xdup() and xfdopen() in git-compat-util.h to give
us error-catching variants of them without cluttering the code
too much.

Signed-off-by: Jim Meyering <jim@meyering.net>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c
git-compat-util.h