summaryrefslogtreecommitdiff
path: root/git-cherry
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-08-08 17:03:14 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-08-09 22:28:22 -0700
commit0c091296c001836e408b8c98de1548d6c7ada67d (patch)
tree21c149e9e46ec75de669ebd3ca65be24310b485b /git-cherry
parentUpdate rev-parse flags list. (diff)
downloadtgif-0c091296c001836e408b8c98de1548d6c7ada67d.tar.xz
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 f3bfbf3a4e..0cd7d40055 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
'