From: Ulrik Sverdrup <ulrik.sverdrup@gmail.com>
To: git@vger.kernel.org
Subject: git-am: Please don't be in "some state" when it fails early
Date: Mon, 29 Mar 2010 02:14:24 +0200 [thread overview]
Message-ID: <a1b6cb1b1003281714u50dbcc2bh58c38b50a7b837cd@mail.gmail.com> (raw)
If git am fails early, before even trying to apply the first patch, it
would be great if am did not leave some state that has to be manually
cleaned up (git am --abort). Even if I have a small 'AM' marker in my
prompt, it is often missed. And why write state files to .git/ at all,
if all it did was to tell me that the index is dirty?
This fixes an inconvenience, and I don't have to wonder (look up)
every time if git am --abort will delete all the WIP I had in the way
or not.
Ulrik
reply other threads:[~2010-03-29 0:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a1b6cb1b1003281714u50dbcc2bh58c38b50a7b837cd@mail.gmail.com \
--to=ulrik.sverdrup@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).