summaryrefslogtreecommitdiff
path: root/shortlog.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2016-06-22 15:01:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-24 21:25:49 (GMT)
commit0a7b357737e3352ce1b0385313c1efc1b2564dbb (patch)
tree3b0d15499717c6210c81fe7e42caf93865f2471a /shortlog.h
parentc61008fdfb59aff00ec546be6bc6cf3bd8869165 (diff)
downloadgit-0a7b357737e3352ce1b0385313c1efc1b2564dbb.zip
git-0a7b357737e3352ce1b0385313c1efc1b2564dbb.tar.gz
git-0a7b357737e3352ce1b0385313c1efc1b2564dbb.tar.bz2
shortlog: support outputting to streams other than stdout
This will be needed to avoid freopen() in `git format-patch`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shortlog.h')
-rw-r--r--shortlog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shortlog.h b/shortlog.h
index de4f86f..5a326c6 100644
--- a/shortlog.h
+++ b/shortlog.h
@@ -17,6 +17,7 @@ struct shortlog {
char *common_repo_prefix;
int email;
struct string_list mailmap;
+ FILE *file;
};
void shortlog_init(struct shortlog *log);