Skip to content

Commit 24a6df4

Browse files
vascoolgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ff3b018 commit 24a6df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ move_to_original_branch () {
154154
git symbolic-ref \
155155
-m "rebase finished: returning to $head_name" \
156156
HEAD $head_name ||
157-
die "$(gettext "Could not move back to $head_name")"
157+
die "$(eval_gettext "Could not move back to \$head_name")"
158158
;;
159159
esac
160160
}

0 commit comments

Comments
 (0)