git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [Proposal] git am --check
@ 2019-06-02 17:37 Drew DeVault
  2019-06-03  9:28 ` Christian Couder
  0 siblings, 1 reply; 4+ messages in thread
From: Drew DeVault @ 2019-06-02 17:37 UTC (permalink / raw)
  To: git

This flag would behave similarly to git apply --check, or in other words
would exit with a nonzero status if the patch is not applicable without
actually applying the patch otherwise.

Rationale: I'm working on an email client which has some git
integration, and when you scroll over a patch I want to quickly test its
applicability and show an indication of the result.

Thoughts on the approach are welcome; my initial naive patch just tried
to add --check to the apply flags but that didn't work as I had hoped.
Will take another crack at a patch soon(ish).

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-03 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-02 17:37 [Proposal] git am --check Drew DeVault
2019-06-03  9:28 ` Christian Couder
2019-06-03  9:35   ` Duy Nguyen
2019-06-03 18:16     ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).