Commit 5e50525
diff: properly error out when combining multiple pickaxe options
In f506b8e (git log/diff: add -G<regexp> that greps in the patch text,
2010-08-23) we were hesitant to check if the user requests both -S and
-G at the same time. Now that the pickaxe family also offers --find-object,
which looks slightly more different than the former two, let's add a check
that those are not used at the same time.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 15af58c commit 5e50525
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4123 | 4123 | | |
4124 | 4124 | | |
4125 | 4125 | | |
| 4126 | + | |
| 4127 | + | |
| 4128 | + | |
4126 | 4129 | | |
4127 | 4130 | | |
4128 | 4131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
| |||
0 commit comments