From 0a7b357737e3352ce1b0385313c1efc1b2564dbb Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 22 Jun 2016 17:01:49 +0200 Subject: shortlog: support outputting to streams other than stdout This will be needed to avoid freopen() in `git format-patch`. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- shortlog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'shortlog.h') diff --git a/shortlog.h b/shortlog.h index de4f86fb97..5a326c6860 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); -- cgit v1.2.1