summaryrefslogtreecommitdiff
path: root/branch.c
diff options
context:
space:
mode:
authorKaartic Sivaraam <kaarticsivaraam91196@gmail.com>2017-08-17 02:54:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-17 20:33:28 (GMT)
commit9c93ff7cc4b4b9f4b9c5769de6144fa81698796c (patch)
treea0948ee7ff763456f25735d225bbf99fbaa27a9a /branch.c
parent52668846ea2d41ffbd87cda7cb8e492dea9f2c4d (diff)
downloadgit-9c93ff7cc4b4b9f4b9c5769de6144fa81698796c.zip
git-9c93ff7cc4b4b9f4b9c5769de6144fa81698796c.tar.gz
git-9c93ff7cc4b4b9f4b9c5769de6144fa81698796c.tar.bz2
branch: quote branch/ref names to improve readability
Signed-off-by: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.c')
-rw-r--r--branch.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/branch.c b/branch.c
index 36541d0..ce1f8bb 100644
--- a/branch.c
+++ b/branch.c
@@ -90,24 +90,24 @@ int install_branch_config(int flag, const char *local, const char *origin, const
if (shortname) {
if (origin)
printf_ln(rebasing ?
- _("Branch %s set up to track remote branch %s from %s by rebasing.") :
- _("Branch %s set up to track remote branch %s from %s."),
+ _("Branch '%s' set up to track remote branch '%s' from '%s' by rebasing.") :
+ _("Branch '%s' set up to track remote branch '%s' from '%s'."),
local, shortname, origin);
else
printf_ln(rebasing ?
- _("Branch %s set up to track local branch %s by rebasing.") :
- _("Branch %s set up to track local branch %s."),
+ _("Branch '%s' set up to track local branch '%s' by rebasing.") :
+ _("Branch '%s' set up to track local branch '%s'."),
local, shortname);
} else {
if (origin)
printf_ln(rebasing ?
- _("Branch %s set up to track remote ref %s by rebasing.") :
- _("Branch %s set up to track remote ref %s."),
+ _("Branch '%s' set up to track remote ref '%s' by rebasing.") :
+ _("Branch '%s' set up to track remote ref '%s'."),
local, remote);
else
printf_ln(rebasing ?
- _("Branch %s set up to track local ref %s by rebasing.") :
- _("Branch %s set up to track local ref %s."),
+ _("Branch '%s' set up to track local ref '%s' by rebasing.") :
+ _("Branch '%s' set up to track local ref '%s'."),
local, remote);
}
}