Article View: linux.kernel.git
Article #356[PATCH v4 2/2] blame: ignore revs in HEAD:.git-blame-ignore-revs
From: "Ravi Mistry via GitGitGadget"
Date: Mon, 12 Oct 2026 19:17
Date: Mon, 12 Oct 2026 19:17
542 lines
29306 bytes
29306 bytes
From: Ravi Mistry <rmistry@google.com>
git-blame(1) can ignore a list of commits specified via
--ignore-revs-file or the blame.ignoreRevsFile configuration option.
This is useful for skipping uninteresting revisions such as tree-wide
formatting changes, large-scale refactors, and code modernizations that
would otherwise obscure genuine historical authorship.
When revision-ignoring was introduced in commit ae3f36dea1 ("blame: add
blame.ignoreRevsFile config option", 2019-10-18), it intentionally
avoided adopting a default ignore file. At the time, the capability was
new and unproven, so avoiding unrequested filesystem I/O or unexpected
attribution shifts took priority over a project-wide default.
Requiring explicit opt-in per clone was therefore the prudent design.
Since then, maintaining a .git-blame-ignore-revs file in the repository
root has become the de facto standard across the Git ecosystem, adopted
by major hosting platforms (GitHub, GitLab, Gerrit) and prominent open
source projects (such as Chromium and LLVM). As a consequence,
developers frequently encounter a jarring mismatch: web interfaces
seamlessly ignore formatting commits, but local git-blame(1) and
git-annotate(1) runs do not, unless each user manually configures
blame.ignoreRevsFile for every local checkout.
Teach git-blame(1) and git-annotate(1) to automatically add the
HEAD:.git-blame-ignore-revs blob, if it exists, as the initial element
in the list of ignore-revs files in both bare and non-bare
repositories. Reading the committed blob from HEAD rather than the
working tree ensures that local runs match hosting platforms even when
an untracked .git-blame-ignore-revs file is present or a tracked one
has uncommitted local changes.
To ensure consistent precedence and override semantics:
- The default HEAD:.git-blame-ignore-revs entry is added before reading
configuration and CLI options, preserving user and repository config
overrides.
- In git_blame_config(), blame.ignoreRevsFile entries are appended via
string_list_append() rather than inserted in sorted order via
string_list_insert() so that configuration entries preserve their
order relative to the initial default entry.
- The HEAD:.git-blame-ignore-revs tree entry is resolved quietly via
get_oid_with_context(). Its mode is checked with S_ISREG() before
reading the object so that non-regular tree entries (such as a
committed symbolic link whose blob stores a target path rather than
revision IDs, a subdirectory, or a gitlink) are skipped instead of
being read and rejected as malformed object names. Its size is checked
via odb_read_object_info() and capped at IGNORE_REVS_MAX_FILE_SIZE
(100MB, matching ATTR_MAX_FILE_SIZE from 3c50032ff5 ("attr: ignore
overly large gitattributes files", 2022-12-01)) so an oversized blob
is skipped with a warning without being loaded into memory. The blob
is parsed in memory via a new oidset_parse_buffer_carefully() helper
in oidset.c that shares line parsing with
oidset_parse_file_carefully().
- In build_ignorelist(), ignore-revs entries are processed starting
after the last empty string entry. This ensures setting
blame.ignoreRevsFile to "" or passing --ignore-revs-file "" or
--no-ignore-revs-file cleanly discards the default blob without
attempting to read or parse it, allowing users to bypass a malformed
default blob.
Update documentation in blame-options.adoc and config/blame.adoc, and
add comprehensive test coverage in t8013 for the default blob lookup,
subdirectory invocations, bare repositories, uncommitted and untracked
working-tree files, CLI and config overrides, committed symlink
entries, overly large blobs, and comments and whitespace handling.
Based-on-patch-by: Abhijeetsingh Meena <abhijeet040403@gmail.com>
Helped-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Helped-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Ravi Mistry <rmistry@google.com>
---
Documentation/blame-options.adoc | 8 +-
Documentation/config/blame.adoc | 9 +-
builtin/blame.c | 54 ++++++++-
oidset.c | 84 +++++++++----
oidset.h | 9 ++
t/t8013-blame-ignore-revs.sh | 197 +++++++++++++++++++++++++++++++
6 files changed, 325 insertions(+), 36 deletions(-)
diff --git a/Documentation/blame-options.adoc b/Documentation/blame-options.adoc
index 1ae1222b6b..8d59dcc8f3 100644
--- a/Documentation/blame-options.adoc
+++ b/Documentation/blame-options.adoc
@@ -132,9 +132,11 @@ take effect.
`--ignore-revs-file <file>`::
Ignore revisions listed in _<file>_, which must be in the same format as an
`fsck.skipList`. This option may be repeated, and these files will be
- processed after any files specified with the `blame.ignoreRevsFile` config
- option. An empty file name, `""`, will clear the list of revs from
- previously processed files.
+ processed after the default `HEAD:.git-blame-ignore-revs` blob (if it
+ exists) and any files specified with the `blame.ignoreRevsFile` config
+ option. An empty file name, `""`, or `--no-ignore-revs-file` will clear
+ the list of revs from previously processed files, including the default
+ `HEAD:.git-blame-ignore-revs` blob.
`--color-lines`::
Color line annotations in the default format differently if they come from
diff --git a/Documentation/config/blame.adoc b/Documentation/config/blame.adoc
index 4d047c1790..153d4ab524 100644
--- a/Documentation/config/blame.adoc
+++ b/Documentation/config/blame.adoc
@@ -23,9 +23,12 @@ blame.showRoot::
blame.ignoreRevsFile::
Ignore revisions listed in the file, one unabbreviated object name per
line, in linkgit:git-blame[1]. Whitespace and comments beginning with
- `#` are ignored. This option may be repeated multiple times. Empty
- file names will reset the list of ignored revisions. This option will
- be handled before the command line option `--ignore-revs-file`.
+ `#` are ignored. If the `HEAD:.git-blame-ignore-revs` blob exists, it
+ is added as the initial element in the list of ignore-revs files.
+ Other files listed in the configuration are also used, but an empty
+ element makes all elements that appeared before in the list forgotten.
+ This option will be handled before the command line option
+ `--ignore-revs-file`.
blame.markUnblamableLines::
Mark lines that were changed by an ignored revision that we could not
diff --git a/builtin/blame.c b/builtin/blame.c
index 6741a7b9df..13a9dcc2e7 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -769,7 +769,7 @@ static int git_blame_config(const char *var, const char *value,
if (ret)
return ret;
if (str)
- string_list_insert(&ignore_revs_file_list, str);
+ string_list_append(&ignore_revs_file_list, str);
free(str);
return 0;
}
@@ -946,17 +946,61 @@ static int peel_to_commit_oid(struct object_id *oid_ret, void *cbdata)
}
}
+#define IGNORE_REVS_MAX_FILE_SIZE (100 * 1024 * 1024)
+
+static void parse_default_ignore_revs_blob(struct blame_scoreboard *sb,
+ const char *name)
+{
+ struct object_context oc;
+ struct object_id oid;
+ enum object_type type;
+ size_t size;
+ char *buf;
+
+ if (get_oid_with_context(sb->repo, name, GET_OID_QUIETLY,
+ &oid, &oc))
+ goto out;
+ if (!S_ISREG(oc.mode))
+ goto out;
+
+ if (odb_read_object_info(sb->repo->objects, &oid, &size) != OBJ_BLOB)
+ goto out;
+ if (size >= IGNORE_REVS_MAX_FILE_SIZE) {
+ warning(_("ignoring overly large ignore-revs blob '%s'"), name);
+ goto out;
+ }
+
+ buf = odb_read_object(sb->repo->objects, &oid, &type, &size);
+ if (!buf)
+ goto out;
+ if (type == OBJ_BLOB)
+ oidset_parse_buffer_carefully(&sb->ignore_list, buf, size,
+ sb->repo->hash_algo,
+ peel_to_commit_oid, sb);
+ free(buf);
+
+out:
+ object_context_release(&oc);
+}
+
static void build_ignorelist(struct blame_scoreboard *sb,
struct string_list *ignore_revs_file_list,
struct string_list *ignore_rev_list)
{
struct string_list_item *i;
struct object_id oid;
+ size_t start_idx = 0, idx;
+
+ for (idx = 0; idx < ignore_revs_file_list->nr; idx++) {
+ if (!*ignore_revs_file_list->items[idx].string)
+ start_idx = idx + 1;
+ }
oidset_init(&sb->ignore_list, 0);
- for_each_string_list_item(i, ignore_revs_file_list) {
- if (!strcmp(i->string, ""))
- oidset_clear(&sb->ignore_list);
+ for (idx = start_idx; idx < ignore_revs_file_list->nr; idx++) {
+ i = &ignore_revs_file_list->items[idx];
+ if (i->util)
+ parse_default_ignore_revs_blob(sb, i->string);
else
oidset_parse_file_carefully(&sb->ignore_list, i->string,
the_repository->hash_algo,
@@ -1036,6 +1080,8 @@ int cmd_blame(int argc,
const char *const *opt_usage = cmd_is_annotate ? annotate_opt_usage : blame_opt_usage;
setup_default_color_by_age();
+ string_list_append(&ignore_revs_file_list,
+ "HEAD:.git-blame-ignore-revs")->util = &sb;
repo_config(the_repository, git_blame_config, &output_option);
repo_init_revisions(the_repository, &revs, NULL);
revs.date_mode = blame_date_mode;
diff --git a/oidset.c b/oidset.c
index 90d39204d3..8469d03b9b 100644
--- a/oidset.c
+++ b/oidset.c
@@ -70,44 +70,76 @@ void oidset_parse_file(struct oidset *set, const char *path,
oidset_parse_file_carefully(set, path, algop, NULL, NULL);
}
+static void parse_oidset_line(struct oidset *set, struct strbuf *sb,
+ const struct git_hash_algo *algop,
+ oidset_parse_tweak_fn fn, void *cbdata)
+{
+ const char *p;
+ const char *name;
+ struct object_id oid;
+
+ if (memchr(sb->buf, '\0', sb->len))
+ die("invalid object name: %s", sb->buf);
+
+ /*
+ * Allow trailing comments, leading whitespace
+ * (including before commits), and empty or whitespace
+ * only lines.
+ */
+ name = strchr(sb->buf, '#');
+ if (name)
+ strbuf_setlen(sb, name - sb->buf);
+ strbuf_trim(sb);
+ if (!sb->len)
+ return;
+
+ if (parse_oid_hex_algop(sb->buf, &oid, &p, algop) || *p != '\0')
+ die("invalid object name: %s", sb->buf);
+ if (fn && fn(&oid, cbdata))
+ return;
+ oidset_insert(set, &oid);
+}
+
void oidset_parse_file_carefully(struct oidset *set, const char *path,
const struct git_hash_algo *algop,
oidset_parse_tweak_fn fn, void *cbdata)
{
FILE *fp;
struct strbuf sb = STRBUF_INIT;
- struct object_id oid;
fp = fopen(path, "r");
if (!fp)
die("could not open object name list: %s", path);
- while (!strbuf_getline(&sb, fp)) {
- const char *p;
- const char *name;
-
- if (memchr(sb.buf, '\0', sb.len))
- die("invalid object name: %s", sb.buf);
-
- /*
- * Allow trailing comments, leading whitespace
- * (including before commits), and empty or whitespace
- * only lines.
- */
- name = strchr(sb.buf, '#');
- if (name)
- strbuf_setlen(&sb, name - sb.buf);
- strbuf_trim(&sb);
- if (!sb.len)
- continue;
-
- if (parse_oid_hex_algop(sb.buf, &oid, &p, algop) || *p != '\0')
- die("invalid object name: %s", sb.buf);
- if (fn && fn(&oid, cbdata))
- continue;
- oidset_insert(set, &oid);
- }
+ while (!strbuf_getline(&sb, fp))
+ parse_oidset_line(set, &sb, algop, fn, cbdata);
if (ferror(fp))
die_errno("Could not read '%s'", path);
fclose(fp);
strbuf_release(&sb);
}
+
+void oidset_parse_buffer_carefully(struct oidset *set, const char *buf,
+ size_t size,
+ const struct git_hash_algo *algop,
+ oidset_parse_tweak_fn fn, void *cbdata)
+{
+ struct strbuf sb = STRBUF_INIT;
+ const char *p = buf, *end;
+
+ if (!size)
+ return;
+ end = buf + size;
+
+ while (p < end) {
+ const char *nl = memchr(p, '\n', end - p);
+ size_t len = (nl ? nl : end) - p;
+
+ strbuf_reset(&sb);
+ if (len && p[len - 1] == '\r')
+ len--;
+ strbuf_add(&sb, p, len);
+ parse_oidset_line(set, &sb, algop, fn, cbdata);
+ p = nl ? nl + 1 : end;
+ }
+ strbuf_release(&sb);
+}
diff --git a/oidset.h b/oidset.h
index e0f1a6ff4f..667c390842 100644
--- a/oidset.h
+++ b/oidset.h
@@ -98,6 +98,15 @@ void oidset_parse_file_carefully(struct oidset *set, const char *path,
const struct git_hash_algo *algop,
oidset_parse_tweak_fn fn, void *cbdata);
+/*
+ * Similar to oidset_parse_file_carefully(), but parses lines from an
+ * in-memory buffer of 'size' bytes.
+ */
+void oidset_parse_buffer_carefully(struct oidset *set, const char *buf,
+ size_t size,
+ const struct git_hash_algo *algop,
+ oidset_parse_tweak_fn fn, void *cbdata);
+
struct oidset_iter {
const kh_oid_set_t *set;
khiter_t iter;
diff --git a/t/t8013-blame-ignore-revs.sh b/t/t8013-blame-ignore-revs.sh
index 70fe509a64..f2eae809cb 100755
--- a/t/t8013-blame-ignore-revs.sh
+++ b/t/t8013-blame-ignore-revs.sh
@@ -365,4 +365,201 @@ test_expect_success 'ignore-revs-file peels chained tags and skips missing tag t
test_cmp expect actual
'
+# Tests for default HEAD:.git-blame-ignore-revs blob
+test_expect_success 'setup default HEAD:.git-blame-ignore-revs' '
+ git checkout -b default-file-branch &&
+ test_write_lines line1 line2 >def-file &&
+ git add def-file &&
+ test_tick &&
+ git commit -m "default base" &&
+ git tag DEF_A &&
+
+ test_write_lines line1-modified line2-modified >def-file &&
+ git add def-file &&
+ test_tick &&
+ git commit -m "default mod" &&
+ git tag DEF_B &&
+
+ git rev-parse DEF_B >.git-blame-ignore-revs &&
+ git add .git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "add .git-blame-ignore-revs"
+'
+
+test_expect_success 'default HEAD:.git-blame-ignore-revs is used by default' '
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_A >expect &&
+ test_cmp expect actual &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 2/s/ .*//p" blame_raw >actual &&
+ test_cmp expect actual
+'
+
+test_expect_success 'default HEAD:.git-blame-ignore-revs respected by git annotate' '
+ git rev-parse --short DEF_A >expect_sha &&
+ git annotate def-file >actual &&
+ test_grep "^$(cat expect_sha)" actual
+'
+
+test_expect_success 'default HEAD:.git-blame-ignore-revs works from subdirectory' '
+ mkdir -p sub &&
+ (
+ cd sub &&
+ git blame --line-porcelain ../def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_A >expect &&
+ test_cmp expect actual
+ )
+'
+
+test_expect_success 'default HEAD:.git-blame-ignore-revs respected in bare repo' '
+ test_when_finished "rm -rf bare.git" &&
+ git clone --bare . bare.git &&
+ git -C bare.git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_A >expect &&
+ test_cmp expect actual
+'
+
+test_expect_success 'uncommitted .git-blame-ignore-revs changes in working tree are ignored' '
+ test_when_finished "git checkout -- .git-blame-ignore-revs" &&
+ echo "invalid-oid-value" >.git-blame-ignore-revs &&
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_A >expect &&
+ test_cmp expect actual
+'
+
+test_expect_success 'disable default HEAD:.git-blame-ignore-revs with --no-ignore-revs-file' '
+ git blame --line-porcelain --no-ignore-revs-file def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_B >expect &&
+ test_cmp expect actual &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 2/s/ .*//p" blame_raw >actual &&
+ test_cmp expect actual
+'
+
+test_expect_success 'disable default HEAD:.git-blame-ignore-revs with --ignore-revs-file ""' '
+ git blame --line-porcelain --ignore-revs-file "" def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_B >expect &&
+ test_cmp expect actual &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 2/s/ .*//p" blame_raw >actual &&
+ test_cmp expect actual
+'
+
+test_expect_success 'disable default HEAD:.git-blame-ignore-revs with blame.ignoreRevsFile=""' '
+ test_config blame.ignoreRevsFile "" &&
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_B >expect &&
+ test_cmp expect actual &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 2/s/ .*//p" blame_raw >actual &&
+ test_cmp expect actual
+'
+
+test_expect_success 'default HEAD:.git-blame-ignore-revs handles comments and whitespace' '
+ rev_def_b=$(git rev-parse DEF_B) &&
+ {
+ echo "# Leading comment" &&
+ echo "" &&
+ echo " $rev_def_b # inline comment" &&
+ echo "# Trailing comment"
+ } >.git-blame-ignore-revs &&
+ git add .git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "comments and whitespace in .git-blame-ignore-revs" &&
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_A >expect &&
+ test_cmp expect actual
+'
+
+test_expect_success 'empty default HEAD:.git-blame-ignore-revs is harmless' '
+ : >.git-blame-ignore-revs &&
+ git add .git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "empty .git-blame-ignore-revs" &&
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_B >expect &&
+ test_cmp expect actual
+'
+
+test_expect_success 'committed symlink .git-blame-ignore-revs in HEAD is ignored' '
+ git rm -f .git-blame-ignore-revs &&
+ git rev-parse DEF_B >target_file &&
+ test_ln_s_add target_file .git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "symlink .git-blame-ignore-revs" &&
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_B >expect &&
+ test_cmp expect actual
+'
+
+test_expect_success 'malformed default HEAD:.git-blame-ignore-revs fails but can be bypassed' '
+ git rm -f .git-blame-ignore-revs &&
+ echo "invalid-oid-value" >.git-blame-ignore-revs &&
+ git add .git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "malformed .git-blame-ignore-revs" &&
+ test_must_fail git blame def-file &&
+ git blame --no-ignore-revs-file def-file &&
+ git blame --ignore-revs-file "" def-file &&
+ git -c blame.ignoreRevsFile="" blame def-file &&
+
+ rev_def_b=$(git rev-parse DEF_B) &&
+ printf "%sQgarbage\n" "$rev_def_b" | q_to_nul >.git-blame-ignore-revs &&
+ git add .git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "NUL in .git-blame-ignore-revs" &&
+ test_must_fail git blame def-file 2>err &&
+ test_grep "invalid object name:" err
+'
+
+test_expect_success 'default HEAD:.git-blame-ignore-revs combined with config blame.ignoreRevsFile' '
+ git rev-parse DEF_B >.git-blame-ignore-revs &&
+ test_write_lines line1-modified line2-c >def-file &&
+ git add .git-blame-ignore-revs def-file &&
+ test_tick &&
+ git commit -m C &&
+ git tag DEF_C &&
+ git rev-parse DEF_C >custom_ignore &&
+ test_config blame.ignoreRevsFile custom_ignore &&
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_A >expect &&
+ test_cmp expect actual &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 2/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_A >expect &&
+ test_cmp expect actual
+'
+
+test_expect_success 'blame works when HEAD:.git-blame-ignore-revs does not exist and ignores untracked file' '
+ test_when_finished "rm -f .git-blame-ignore-revs" &&
+ git rm -f .git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "remove .git-blame-ignore-revs" &&
+ git rev-parse DEF_B >.git-blame-ignore-revs &&
+ git blame --line-porcelain def-file >blame_raw &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_B >expect &&
+ test_cmp expect actual
+'
+
+test_expect_success EXPENSIVE 'overly large default HEAD:.git-blame-ignore-revs blob is ignored' '
+ blob=$(dd if=/dev/zero bs=1048576 count=101 2>/dev/null |
+ git hash-object -w --stdin) &&
+ git update-index --add --cacheinfo 100644,$blob,.git-blame-ignore-revs &&
+ test_tick &&
+ git commit -m "overly large .git-blame-ignore-revs" &&
+ test_when_finished "git reset --hard HEAD~" &&
+ git blame --line-porcelain def-file >blame_raw 2>err &&
+ sed -ne "/^[0-9a-f][0-9a-f]* [0-9][0-9]* 1/s/ .*//p" blame_raw >actual &&
+ git rev-parse DEF_B >expect &&
+ test_cmp expect actual &&
+ test_grep "warning: ignoring overly large ignore-revs blob '\''HEAD:.git-blame-ignore-revs'\''" err
+'
+
test_done
--
gitgitgadget
Technical Details
Message-ID:
<76d597dfa803eb19e7274e0980fb02917fb8d5fd.1791832644.git.gitgitgadget@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-71787-linux-kernel-git=dewy.ruReferences:
<pull.2224.git.1789169384240.gitgitgadget@gmail.com> <pull.2224.v4.git.1791832644.gitgitgadget@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-71787-linux-kernel-git=dewy.ru
From: gitgitgadget@gmail.com ("Ravi Mistry via GitGitGadget")
Newsgroups: linux.kernel.git
Subject: [PATCH v4 2/2] blame: ignore revs in HEAD:.git-blame-ignore-revs
Date: Mon, 12 Oct 2026 19:17:24 +0000
Organization: Usenet Network
Message-ID: <76d597dfa803eb19e7274e0980fb02917fb8d5fd.1791832644.git.gitgitgadget@gmail.com>
References: <pull.2224.git.1789169384240.gitgitgadget@gmail.com>
<pull.2224.v4.git.1791832644.gitgitgadget@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="1863860"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:HexK8KzSdn8Ujui4lUpz/gd3QOs= sha256:5HyDhVByETeeO3dn7aEXXN4MPRAqlp4yyrv8SBxBJ+o=
sha1:T+Y6kUwr9Gx1v5g76AYCh98Syow= sha256:bkAv+01zr/U58ltWw0ECs2u4nDU2M2LVkRmCXlBH0Uc=
List-ID: <git.vger.kernel.org>
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 3AD0F10FCC1; Mon, 12 Oct 2026 22:19:34 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: 2.81
X-Spam-Level: **
X-Spam-Status: No, score=2.81 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_SBL_CSS=3.558, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id nT2pKIKpk889;
Mon, 12 Oct 2026 22:19:30 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-71787-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 74B7E10FCC4; Mon, 12 Oct 2026 22:19:21 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by tor.lore.kernel.org (Postfix) with ESMTP id B3AF631A01; Mon, 12 Oct 2026 19:17:41 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id ACE7D4DAFBC;
Mon, 12 Oct 2026 19:17:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bc3yAOAm"
X-Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93C3E37DAA9
for <git@vger.kernel.org>; Mon, 12 Oct 2026 19:17:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.176
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791832652; cv=none; b=GNpCS6n6nKACZE81XqjvtT0gXaxoZ9VPPsk0oRi6ENfYBt0I/QV3ezJPDbek+DyY6GNWgUB4nM98uUwx21V0IWtqLJk/vpo4aukO3g+NlzYn8RlLvE2lGt4MeJE4tO4GxmqhZ3Gl2fM/buGH0FZbcW3DZ995RG9CgPgRzJDB5Uc=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791832652; c=relaxed/simple;
bh=epJxX44YKgt0MZA2n9wf5/F+VZTT61Yz1CruHN719nM=;
h=Message-Id:In-Reply-To:References:From:Date:Subject:Content-Type:
MIME-Version:To:Cc; b=Y8oYQrggNVt+25t7JCJE7c/rD/OYoZ40I64a0R1bUONttXTT2c89LDAsvRFu4vKGSIpFZBXlEw2kbD6X+aciLvLeAZKk8T7O022Qg7+o4DMfRl1fpNVvVfC/Fe22MhIwlxRcgkfV3/FjP7BJqCxQAWMTgXFDbWNEgSPiHStMSe0=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bc3yAOAm; arc=none smtp.client-ip=209.85.222.176
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-93e4c00d71aso168265585a.3
for <git@vger.kernel.org>; Mon, 12 Oct 2026 12:17:30 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791832649; x=1792437449; darn=vger.kernel.org;
h=cc:to:mime-version:content-transfer-encoding:content-type:fcc
:subject:date:from:references:in-reply-to:message-id:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=g2sSAZk1uNAerfZZAmv5xiArVxZ5P8if1F7+jVuXaXQ=;
b=bc3yAOAm6xeQWojwVXgpCcNCL3nzStK5aArJIjXykeoOSsc9XNzkzGvsOLvCFYtlik
LenSmtrUe8xHAG+XSvhB+ASqrbwVtwEoFZxO9gFRgI8ajIYqU69/JXQU51p1sW2QCxOX
ZLpd3Rp7qh7G9YebsAzZW+cPEYO7jsJVlpDHzpiYeXA9ZkZVRWicU7ONy+N6790riUgm
ioaIwB5Zn/ykdWo9Mn0qD5Z26zWM23AbeaRMK50JMKtUYFm/4cjpIJk2vbBGWCdkFiFE
Bw3ndPuGHggXHjKTwZkMYLfRNUXLH1iiZwYto6RUe42hLNVevAG5JhlE171ZP3E7v0YQ
FJxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791832649; x=1792437449;
h=cc:to:mime-version:content-transfer-encoding:content-type:fcc
:subject:date:from:references:in-reply-to:message-id:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=g2sSAZk1uNAerfZZAmv5xiArVxZ5P8if1F7+jVuXaXQ=;
b=CJLZL5XLtClF/WWK9Clp0qDZNM8irOdsUznVsw/IR/HjcK4lWevyOPabOFZVKYGGF4
KVJD4ASY3hwh+SsN2IL7ewJz4/2MiaMIQLtzxj6yyKiw925SNUwrsyMSF1KlyWgl5MOR
LgxIfO8vdru81AiS8U9GZCRLEE5h5tyrEQfd79lCg/Kka/0HVKLR1kpERziLCbaszU8u
quB7NgSg2P2NFE9+RZYBd557qOi2Bl3f0Xsn5HAJSEhhYipU+mJjggiEL9l9CE43+clI
thbwkDSADwakJMRLZfHK9c9sILBJitTAujRoW4u0sh3NcJ4v0OL3j+17F8dEP6lucARj
btSw==
X-Gm-Message-State: AFq9FYLRUY48NHKmeADVrTQDqKkYZAyBRqJjheqPfvyjgC/vM8pgV0A0
o2hnbErZcGiy//k/3AcrW9jZ31CeAafjdcab87HDZQsRqXGQU5rnpQUnCVUcSsYa
X-Gm-Gg: AYBFou26+R3as2tpcOMQxEG8jwT1RcSWxW6MxAhvWW2+TsVfjwbu0u6sB9RkyptlZGp
h9TC8Hs6w44JK/N7Ls1AIav4zuWNWNHOwPMNTME5msB7ir8vlxRWS4mSVdsA6dFg0mm1ZUGTmN1
1fDK9sEhDTLwV3u8+cfkpxfDGQrLKn/UHy9agvVA6NJccqPMvT0WXgcb8ZbNbgxtErhk0KMGG70
tifhuyHQkgB8E4i6b4k5CApybOoIUHbS7e2aLGkfvfCl/iV7pBgq7dxpEzxnZoU1GHqupzdkPVC
8i6W99Mxfw6cEwKD1HziPaO/+XqOVKbrR/RK04gedxowh+LTcaj+FYlyqv+9aKp+LHqFNY3Y5sv
jZlhaDAOWmvX2zgbQa3/yN7wZFUO3fuQtn28nOISTtfoQK/H8dT334L+EZIWD/ML3TlW+t5CcCC
Q5UglmTSIDGsZHb5Wjb+1ELHoMQM5rr+Z3XGzWKYaKFLaWZM++a6U1J98QJrtgPzs5FOltTX9KP
/I=
X-Received: by 2002:a05:620a:26a6:b0:93a:c102:1123 with SMTP id af79cd13be357-93ebd1bb363mr1668955185a.15.1791832649230;
Mon, 12 Oct 2026 12:17:29 -0700 (PDT)
X-Received: from [127.0.0.1] ([52.224.247.165])
by smtp.gmail.com with ESMTPSA id 6a1803df08f44-91b97c35bfcsm5133746d6.42.2026.10.12.12.17.28
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 12 Oct 2026 12:17:28 -0700 (PDT)
X-In-Reply-To: <pull.2224.v4.git.1791832644.gitgitgadget@gmail.com>
X-Fcc: Sent
X-Precedence: bulk
X-Mailing-List: git@vger.kernel.org
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-Cc: Junio C Hamano <gitster@pobox.com>,
Abhijeetsingh Meena <abhijeet040403@gmail.com>,
Kristoffer Haugsbakk <code@khaugsbakk.name>,
Phillip Wood <phillip.wood@dunelm.org.uk>,
Eric Sunshine <sunshine@sunshineco.com>,
Phillip Wood <phillip.wood123@gmail.com>,
Ravi Mistry <rmistry@google.com>,
Ravi Mistry <rmistry@google.com>