Merge branch 'cn/maint-branch-with-bad' into maint
[gitweb.git] / builtin / commit.c
index 2deccb54447d7f66213414914225a97e79049f74..eae5a29aeb4248b972f97632026993c25d5e03da 100644 (file)
@@ -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;
        }