aboutsummaryrefslogtreecommitdiff
path: root/builtin/remote.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 /builtin/remote.c
parent9665627d8cc6f0263f0019e92c67a38223804b57 (diff)
downloadgit-18986d5377f19e069afffa6689d507b22f1d6c71.tar.gz
git-18986d5377f19e069afffa6689d507b22f1d6c71.tar.xz
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 'builtin/remote.c')
-rw-r--r--builtin/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index fec92bc66..1b034731b 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -1260,8 +1260,8 @@ static int prune_remote(const char *remote, int dry_run)
int result = 0, i;
struct ref_states states;
const char *dangling_msg = dry_run
- ? " %s will become dangling!\n"
- : " %s has become dangling!\n";
+ ? " %s will become dangling!"
+ : " %s has become dangling!";
memset(&states, 0, sizeof(states));
get_remote_ref_states(remote, &states, GET_REF_STATES);