diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-08 17:03:14 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-09 22:28:22 -0700 |
commit | 0c091296c001836e408b8c98de1548d6c7ada67d (patch) | |
tree | 21c149e9e46ec75de669ebd3ca65be24310b485b /git-rebase-script | |
parent | Update rev-parse flags list. (diff) | |
download | tgif-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-rebase-script')
-rwxr-xr-x | git-rebase-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase-script b/git-rebase-script index 5b791c6bda..83289845ac 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 } |