diff options
author | Kaartic Sivaraam <kaarticsivaraam91196@gmail.com> | 2017-08-17 04:54:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-17 22:33:28 +0200 |
commit | 9c93ff7cc4b4b9f4b9c5769de6144fa81698796c (patch) | |
tree | a0948ee7ff763456f25735d225bbf99fbaa27a9a /branch.c | |
parent | builtin/branch: stop supporting the "--set-upstream" option (diff) | |
download | git-9c93ff7cc4b4b9f4b9c5769de6144fa81698796c.tar.xz git-9c93ff7cc4b4b9f4b9c5769de6144fa81698796c.zip |
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.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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); } } |