Commit 81cb521
committed
log: reject pickaxe options when combined with -L
The previous commit fixed a crash when -G, -S, or --find-object was
used together with -L and rename detection. However, these options
still have no effect on -L output: line-log uses its own
commit-filtering logic in line_log_filter() and never consults the
pickaxe machinery. Rather than silently ignoring these options, reject
the combination with a clear error message.
This replaces the known-breakage tests from the previous commit with
tests that verify the rejection for all three options. A future series
could teach line-log to honor these options and remove this restriction.
Signed-off-by: Michael Montalbo <mmontalbo@gmail.com>1 parent 273ebf6 commit 81cb521
2 files changed
+13
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
320 | 324 | | |
321 | 325 | | |
322 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
406 | 373 | | |
407 | 374 | | |
408 | | - | |
409 | | - | |
410 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
411 | 378 | | |
412 | 379 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
417 | 383 | | |
418 | 384 | | |
419 | 385 | | |
0 commit comments