summaryrefslogtreecommitdiff
path: root/update-index.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-11-23 16:56:55 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-23 17:19:37 -0800
commitb7884981f8f2a063f577df12c65e9af8b1a4f1b8 (patch)
tree10227b43e837a38d95d472a0b7c400749fbd46e9 /update-index.c
parentAllow editing of a revert-message (diff)
downloadtgif-b7884981f8f2a063f577df12c65e9af8b1a4f1b8.tar.xz
git-revert: make --edit default.
Revert always should explain why, so make --edit the default, unless stdin is not a terminal. If you really don't want to say anything, you can say "git-revert --no-edit $commit", or if you are really sick, you could also say "git-revert $commit </dev/null". But please don't. You can also say "git-cherry-pick --edit $commit". Not editting the commit log message is the default for cherry-pick. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'update-index.c')
0 files changed, 0 insertions, 0 deletions