summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-02-16 13:59:53 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-16 13:59:53 -0800
commite6d88ca87cbb3d89d639a3ee769486f44f9a33b8 (patch)
tree0aebf2fcb42700fbc813819ec219afd4994201ed /builtin/commit.c
parentman: rearrange git synopsis to fit in 80 lines (diff)
parenti18n: format_tracking_info "Your branch is behind" message (diff)
downloadtgif-e6d88ca87cbb3d89d639a3ee769486f44f9a33b8.tar.xz
Merge branch 'jx/i18n-more-marking' into maint
* jx/i18n-more-marking: i18n: format_tracking_info "Your branch is behind" message i18n: git-commit whence_s "merge/cherry-pick" message
Diffstat (limited to 'builtin/commit.c')
-rw-r--r--builtin/commit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 2deccb5444..eae5a29aeb 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -196,16 +196,16 @@ static void determine_whence(struct wt_status *s)
static const char *whence_s(void)
{
- char *s = "";
+ const char *s = "";
switch (whence) {
case FROM_COMMIT:
break;
case FROM_MERGE:
- s = "merge";
+ s = _("merge");
break;
case FROM_CHERRY_PICK:
- s = "cherry-pick";
+ s = _("cherry-pick");
break;
}