# git apply --check should give some indication that a patch applies cleanly

1 messages from 2019-03-14 to 2019-03-14. Participants: Daniel Dromboski.
Thread: https://gitlist.dev/t/50741

## Daniel Dromboski, 2019-03-14 18:28

Subject: git apply --check should give some indication that a patch applies cleanly
Message-ID: <CAGGzCPF_0ZGWn1-GCLLb=1XKcW936U_4CxiNRHPCV1kw5ZeOBw@mail.gmail.com>
URL: https://gitlist.dev/e/CAGGzCPF_0ZGWn1-GCLLb%3D1XKcW936U_4CxiNRHPCV1kw5ZeOBw%40mail.gmail.com

```
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.

```
