From 3b9375e8f10257780dba338ae5c4dbd1b6eef89b Mon Sep 17 00:00:00 2001 From: rzuckerm Date: Sat, 8 Apr 2023 11:57:20 -0500 Subject: [PATCH] Fix directory used for temporary git blame file (#60) --- setup.py | 2 +- subete/repo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 541a71f..d31c29e 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ MAJOR = 0 MINOR = 15 -PATCH = 0 +PATCH = 1 name = "subete" version = f"{MAJOR}.{MINOR}" diff --git a/subete/repo.py b/subete/repo.py index 17d20a7..2ddc841 100644 --- a/subete/repo.py +++ b/subete/repo.py @@ -263,7 +263,7 @@ def _load_git_data(self) -> None: # Make sure .git-blame-ignore-revs exists for older versions of git and # keep track of whether it existed before - blame_path = Path(f"{self._sample_programs_temp_dir.name}/.git-blame-ignore-revs") + blame_path = Path(f"{self._sample_programs_repo_dir}/.git-blame-ignore-revs") blame_path_exists = blame_path.exists() blame_path.touch()