From: Noah Pendleton <noah.pendleton@gmail.com>
To: git@vger.kernel.org
Cc: Noah Pendleton <noah.pendleton@gmail.com>
Subject: [PATCH 0/1] blame: Skip missing ignore-revs file
Date: Sat, 7 Aug 2021 16:27:51 -0400 [thread overview]
Message-ID: <20210807202752.1278672-1-noah.pendleton@gmail.com> (raw)
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(-)
--
2.32.0
next reply other threads:[~2021-08-07 20:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-07 20:27 Noah Pendleton [this message]
2021-08-07 20:58 ` [PATCH 0/1] blame: Skip missing ignore-revs file Junio C Hamano
2021-08-07 21:34 ` Noah Pendleton
2021-08-08 5:43 ` Junio C Hamano
2021-08-08 17:50 ` Junio C Hamano
2021-08-08 18:21 ` Noah Pendleton
2021-08-09 15:47 ` Junio C Hamano
2022-03-04 9:51 ` Thranur Andul
2021-08-08 17:48 ` [PATCH v2] blame: add config `blame.ignoreRevsFileIsOptional` Noah Pendleton
-- strict thread matches above, loose matches on Subject: below --
2021-08-07 20:29 [PATCH 0/1] blame: Skip missing ignore-revs file Noah Pendleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210807202752.1278672-1-noah.pendleton@gmail.com \
--to=noah.pendleton@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public 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).