mbox series

[0/1] blame: Skip missing ignore-revs file

Message ID 20210807202902.1279624-1-noah.pendleton@gmail.com (mailing list archive)
Headers show
Series blame: Skip missing ignore-revs file | expand

Message

Noah Pendleton Aug. 7, 2021, 8:29 p.m. UTC
Setting a global `blame.ignoreRevsFile` can be convenient, since I
usually use `.git-blame-ignore-revs` in repos. If the file is missing,
though, `git blame` exits with failure. This patch changes it to skip
over non-existent ignore-rev files instead of erroring.


Noah Pendleton (1):
  blame: skip missing ignore-revs-file's

 Documentation/blame-options.txt |  2 +-
 Documentation/config/blame.txt  |  3 ++-
 builtin/blame.c                 |  2 +-
 t/t8013-blame-ignore-revs.sh    | 10 ++++++----
 4 files changed, 10 insertions(+), 7 deletions(-)