summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-04-23 19:30:25 +0700
committerJunio C Hamano <gitster@pobox.com>2012-04-24 14:55:48 -0700
commit18986d5377f19e069afffa6689d507b22f1d6c71 (patch)
tree1c8a447ed9c6126bbb55f2b3860ad89bb6c0a1ac /refs.c
parent9665627d8cc6f0263f0019e92c67a38223804b57 (diff)
downloadgit-18986d5377f19e069afffa6689d507b22f1d6c71.tar.gz
i18n: make warn_dangling_symref() automatically append \n
This helps remove \n from translatable strings Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs.c b/refs.c
index c9f6835351..052c2f6058 100644
--- a/refs.c
+++ b/refs.c
@@ -395,6 +395,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;
}