From: Johannes Schindelin Date: Tue, 09 Aug 2005 00:13:53 GMT Subject: Re: "git revert" (Re: pci_update_resource() getting called on sparc64) Message-ID: In-Reply-To: [PATCH] Adapt git-cherry and git-rebase-script to latest changes of git commit Teach git-cherry and git-rebase-script to use the "-c" option, since "-m" means something different to git-commit-script now. Signed-off-by: Johannes Schindelin --- git-cherry | 2 +- git-rebase-script | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 34d6840882e65109a17fa02bf2cefec269fd7637 diff --git a/git-cherry b/git-cherry --- 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 ' diff --git a/git-rebase-script b/git-rebase-script --- 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 }