diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-25 15:15:48 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-25 15:56:55 -0800 |
commit | 757f58ed380a17225e8de9f461083a21d0a2c97c (patch) | |
tree | a1b27500a527126432534c220698198ad1a3127b /http-push.c | |
parent | 92b7ba16b7605f70cac845d4a8d0162392ac0223 (diff) | |
download | git-757f58ed380a17225e8de9f461083a21d0a2c97c.tar.gz |
revert/cherry-pick: do not mention the original ref
When you cherry-pick or revert a commit, naming it with an annotated
tag, we added a comment, attempting to repeat what we got from the end
user, to the message.
But this was inconsistent. When we got "cherry-pick branch", we
recorded the object name (40-letter SHA-1) without saying anything like
"original was 'branch'". There was no need to. Also recent rewrite to
use parse-options made it impossible to parrot the original command line
without "unparsing".
This removes the code that implements the misguided "we dereferenced the
tag so record that in the commit message" behaviour.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions