[PATCH v2 0/3] blame: add the ability to ignore commits
- From
- Barret Rhoden <brho@google.com>
- Date
- Jan 17, 2019, 20:29 UTC
- Message-ID
- <20190117202919.157326-1-brho@google.com>
- In-Reply-To
- <20190107213013.231514-1-brho@google.com>
Adds the ability to ignore a set of commits and their changes when blaming. This can be used to ignore a commit deemed 'not interesting,' such as reformatting.
v1: https://public-inbox.org/git/20190107213013.231514-1-brho@google.com/ v1 -> v2 - extracted the skiplist from fsck to avoid duplicating code - overhauled the interface and options - split out markIgnoredFiles - handled merges
Barret Rhoden (3): Move init_skiplist() outside of fsck blame: add the ability to ignore commits and their changes blame: add a config option to mark ignored lines
Documentation/blame-options.txt | 15 +++++++++ Documentation/git-blame.txt | 1 + blame.c | 56 +++++++++++++++++++++++++++------ blame.h | 3 ++ builtin/blame.c | 33 +++++++++++++++++++ fsck.c | 37 +--------------------- oidset.c | 35 +++++++++++++++++++++ oidset.h | 7 +++++ 8 files changed, 142 insertions(+), 45 deletions(-)
-- 2.20.1.321.g9e740568ce-goog