git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* git apply --check should give some indication that a patch applies cleanly
@ 2019-03-14 18:28 Daniel Dromboski
  0 siblings, 0 replies; only message in thread
From: Daniel Dromboski @ 2019-03-14 18:28 UTC (permalink / raw)
  To: git

Hi folks,

The main purpose of `git apply --check` is to see if a patch can apply.

It's not intuitive to a user, just from the command name, that "no
output" means your patch can apply cleanly.

Furthermore, `git apply --check --verbose` only says that it is
checking the patch, ending with "..." which usually means "more info
to come"... But it doesn't print anything else. An example command and
output:

```
$ git apply --check --verbose [my-patch.patch]
Checking patch [path/to/file.ext]...
```

I'd like if there were some way for the command to confirm outright
that the patch applies, to save users the confusion.

Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-14 18:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-14 18:28 git apply --check should give some indication that a patch applies cleanly Daniel Dromboski

Code repositories for project(s) associated with this 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).