summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasco Almeida <vascomalmeida@sapo.pt>2016-06-17 20:20:59 +0000
committerJunio C Hamano <gitster@pobox.com>2016-06-17 15:45:48 -0700
commitc36d8eee49cdf9c12ef66cfc3a780d3a1de3edd2 (patch)
tree759c54fbc360a89e737c01ffe5167a39dd123a60
parent24a6df489a47dab63f24caa5cc4dcbf6740049cc (diff)
downloadgit-c36d8eee49cdf9c12ef66cfc3a780d3a1de3edd2.tar.gz
i18n: rebase: mark placeholder for translation
Mark placeholder "<branch>" in git-rebase.sh for translation. The string containing the named placeholder is passed to shell function error_on_missing_default_upstream in git-parse-remote.sh which uses it to display a command hint for the user. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-rebase.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 1fadc04164..9ba21ab6a1 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -449,7 +449,7 @@ then
then
. git-parse-remote
error_on_missing_default_upstream "rebase" "rebase" \
- "against" "git rebase <branch>"
+ "against" "git rebase $(gettext '<branch>')"
fi
test "$fork_point" = auto && fork_point=t