Re: [PATCH] [git-p4] Make it possible to abort the submission of a change to Perforce
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 27, 2008, 19:20 UTC
- Message-ID
- <7vk5e2p8me.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200808270937.10577.simon@lst.de>
Simon Hausmann <simon@lst.de> writes:
> Currently it is not possible to skip the submission of a change to Perforce > when running git-p4 submit. This patch compares the modification time before > and after the submit editor invokation and offers a prompt for skipping if > the submit template file was not saved.
Applied, thanks.
It makes one wonder if mtime is a reliable enough indication or you are better off comparing the contents, though. The message file the user is editing is not that big anyway, no?