Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule: Instead of using only annotated tags, use any tags.
[gitweb.git]
/
builtin-log.c
diff --git
a/builtin-log.c
b/builtin-log.c
index 073a2a16a3fafd66d13b1ed106a0016617ec63ad..a4186eac8ea395143d25b16b94171b3d4e75d444 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-589,7
+589,7
@@
int cmd_format_patch(int argc, const char **argv, const char *prefix)
get_patch_ids(&rev, &ids, prefix);
if (!use_stdout)
- realstdout =
fdopen(
dup(1), "w");
+ realstdout =
xfdopen(x
dup(1), "w");
prepare_revision_walk(&rev);
while ((commit = get_revision(&rev)) != NULL) {