diff --git a/git_of_theseus/analyze.py b/git_of_theseus/analyze.py index 303cbb0..55fd6f3 100644 --- a/git_of_theseus/analyze.py +++ b/git_of_theseus/analyze.py @@ -254,6 +254,8 @@ def analyze( blame_kwargs = {} if ignore_whitespace: blame_kwargs["w"] = True + if (Path(repo_dir) / ".git-blame-ignore-revs").exists(): + blame_kwargs["ignore-revs-file"] = ".git-blame-ignore-revs" master_commits = [] # only stores a subset commit2cohort = {} curve_key_tuples = set() # Keys of each curve that will be tracked