summaryrefslogtreecommitdiff
path: root/git-cherry
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-09 00:03:14 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-10 05:28:22 (GMT)
commit0c091296c001836e408b8c98de1548d6c7ada67d (patch)
tree21c149e9e46ec75de669ebd3ca65be24310b485b /git-cherry
parent5ccfb758b0e69b77b0ad830cc35d7770b08589eb (diff)
downloadgit-0c091296c001836e408b8c98de1548d6c7ada67d.zip
git-0c091296c001836e408b8c98de1548d6c7ada67d.tar.gz
git-0c091296c001836e408b8c98de1548d6c7ada67d.tar.bz2
git-commit: log parameter updates.
While moving '-m' to make room for CVS compatible "here is the log message", enhance source of log parameters. -m 'message': a command line parameter. -F <file> : a file (use '-' to read from stdin). -C <commit> : message in existing commit. -c <commit> : message in existing commit (allows further editing). Longer option names for these options are also available. While we are at it, get rid of shell array bashism. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-cherry')
-rwxr-xr-xgit-cherry2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cherry b/git-cherry
index f3bfbf3..0cd7d40 100755
--- a/git-cherry
+++ b/git-cherry
@@ -23,7 +23,7 @@ The output is intended to be used as:
while read commit
do
GIT_EXTERNAL_DIFF=git-apply-patch-script git-diff-tree -p "$commit" &&
- git-commit-script -m "$commit"
+ git-commit-script -C "$commit"
done
'