git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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?

Previous: Simon Hausmann
Message 2 of 2 in “[git-p4] Make it possible to abort the submission of a change to Perforce”
  1. [git-p4] Make it possible to abort the submission of a change to PerforceSimon Hausmann, Aug 27, 2008
  2. Junio C HamanoAug 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.