Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
get_patch_filename(): simplify function signature
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index 7cf157e3ea196fb072fe071a7d5a1cc2fd452a0c..d9946ecd2f277c750cd91968c87517aed288c034 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-684,7
+684,7
@@
static int reopen_stdout(struct commit *commit, const char *subject,
strbuf_addch(&filename, '/');
}
- get_patch_filename(
commit, subject, rev->nr, rev->patch_suffix, &filename
);
+ get_patch_filename(
&filename, commit, subject, rev
);
if (!quiet)
fprintf(realstdout, "%s\n", filename.buf + outdir_offset);