git-log: detect dup and fdopen failure
authorJim Meyering <redacted>
Wed, 27 Jun 2007 14:28:53 +0000 (16:28 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Acked-by: Linus Torvalds <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin-log.c
git-compat-util.h
git clone https://git.99rst.org/PROJECT