summaryrefslogtreecommitdiff
path: root/git-rebase-script
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-rebase-script
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-rebase-script')
-rwxr-xr-xgit-rebase-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase-script b/git-rebase-script
index 5b791c6..8328984 100755
--- a/git-rebase-script
+++ b/git-rebase-script
@@ -37,7 +37,7 @@ do
esac
S=`cat "$GIT_DIR/HEAD"` &&
GIT_EXTERNAL_DIFF=git-apply-patch-script git-diff-tree -p $commit &&
- git-commit-script -m "$commit" || {
+ git-commit-script -C "$commit" || {
echo $commit >>$fail
git-read-tree --reset -u $S
}