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-cherry | |
parent | 5ccfb758b0e69b77b0ad830cc35d7770b08589eb (diff) | |
download | git-0c091296c001836e408b8c98de1548d6c7ada67d.tar.gz |
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-x | git-cherry | 2 |
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 ' |