From 5065ed296abc1c0b66ad7c5e963e048cb90b6ee6 Mon Sep 17 00:00:00 2001 From: Michael Haggerty Date: Thu, 14 Jan 2010 06:54:49 +0100 Subject: rebase -i: Improve consistency of commit count in generated commit messages Use the numeral "2" instead of the word "two" when two commits are being interactively squashed. This makes the treatment consistent with that for higher numbers of commits. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano --- git-rebase--interactive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-rebase--interactive.sh') diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index 31f9b3b03..702c97941 100755 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -360,7 +360,7 @@ make_squash_message () { }' <"$SQUASH_MSG" else COUNT=2 - echo "# This is a combination of two commits." + echo "# This is a combination of 2 commits." echo "# The first commit's message is:" echo git cat-file commit HEAD | sed -e '1,/^$/d' -- cgit v1.2.1