summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_master_master^_side
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2008-12-06 14:40:34 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-07 02:53:45 -0800
commit3927bbe9a4d4033551dea39ac1abb9cdc45d822c (patch)
tree9d8b8febf7e195e1cf76c704419c00b1b4e49da1 /t/t4013/diff.diff_master_master^_side
parentgitweb: Make project specific override for 'grep' feature work (diff)
downloadtgif-3927bbe9a4d4033551dea39ac1abb9cdc45d822c.tar.xz
tag: delete TAG_EDITMSG only on successful tag
The user may put some effort into writing an annotated tag message. When the tagging process later fails (which can happen fairly easily, since it may be dependent on gpg being correctly configured and used), there is no record left on disk of the tag message. Instead, let's keep the TAG_EDITMSG file around until we are sure the tag has been created successfully. If we die because of an error, the user can recover their text from that file. Leaving the file in place causes no conflicts; it will be silently overwritten by the next annotated tag creation. This matches the behavior of COMMIT_EDITMSG, which stays around in case of error. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_master_master^_side')
0 files changed, 0 insertions, 0 deletions