mirror of
https://github.com/git/git.git
synced 2026-01-09 01:34:00 +00:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
c61008fdfb
commit
0a7b357737
@@ -17,6 +17,7 @@ struct shortlog {
|
||||
char *common_repo_prefix;
|
||||
int email;
|
||||
struct string_list mailmap;
|
||||
FILE *file;
|
||||
};
|
||||
|
||||
void shortlog_init(struct shortlog *log);
|
||||
|
||||
Reference in New Issue
Block a user