ident: use a dynamic strbuf in fmt_ident
[gitweb.git] / refs.c
diff --git a/refs.c b/refs.c
index af5da5f1c1c3f756a5488c4c45332925bbf65e77..d6bdb47ad61dc5e7eb1c786dd4115e17bdb2aab7 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -1232,6 +1232,7 @@ static int warn_if_dangling_symref(const char *refname, const unsigned char *sha
                return 0;
 
        fprintf(d->fp, d->msg_fmt, refname);
+       fputc('\n', d->fp);
        return 0;
 }