diff options
author | Jay Soffian <jaysoffian@gmail.com> | 2009-11-10 00:03:32 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-10 01:01:47 -0800 |
commit | 3cf6134ad016712ecb78186d9079b9cff7b25416 (patch) | |
tree | 8fb37c04b2dd7a17b1907bbb8b53e0836e07b9b0 /refs.h | |
parent | f2ef6075c9d248523bf658d82065b46d892b5601 (diff) | |
download | git-3cf6134ad016712ecb78186d9079b9cff7b25416.tar.gz git-3cf6134ad016712ecb78186d9079b9cff7b25416.tar.xz |
teach warn_dangling_symref to take a FILE argument
Different callers of warn_dangling_symref() may want to control whether its
output goes to stdout or stderr so let it take a FILE argument.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ extern int for_each_replace_ref(each_ref_fn, void *); /* can be used to learn about broken ref and symref */ extern int for_each_rawref(each_ref_fn, void *); -extern void warn_dangling_symref(const char *msg_fmt, const char *refname); +extern void warn_dangling_symref(FILE *fp, const char *msg_fmt, const char *refname); /* * Extra refs will be listed by for_each_ref() before any actual refs |