i18n: rebase: fix marked string to use eval_gettext variant
The string message marked for translation should use eval_gettext variant instead of the gettext one, since we want to dollar-substitute $head_name in the result. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasco Almeida committed
Jun 17, 2016 at 20:20 UTC
24a6df489a47dab63f24caa5cc4dcbf6740049cc
1 file changed
+1
-1
git-rebase.sh
+1
-1
@@ -154,7 +154,7 @@ move_to_original_branch () {
154
git symbolic-ref \
155
-m "rebase finished: returning to $head_name" \
156
HEAD $head_name ||
157
- die "$(gettext "Could not move back to $head_name")"
157
+ die "$(eval_gettext "Could not move back to \$head_name")"
158
;;
159
esac
160
}