aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-06-17 10:31:48 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-06-17 10:33:35 -0400
commitaf8a12509de3e71b8c7dd6d6e0fd9f1752502b08 (patch)
treea3d6db1f4a9aec89342d809087aa09a1da0572fe
parentba57f8544e6717fd5d6f04717d237286a5c920a6 (diff)
downloadb4-af8a12509de3e71b8c7dd6d6e0fd9f1752502b08.tar.gz
Don't append .git unnecessarily
We already do this automatically elsewhere, so this causes a problem if we do it again. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index 40c9cd5..48f43a2 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -645,7 +645,6 @@ class LoreSeries:
cmdargs = ['hash-object', fullpath]
ecode, out = git_run_command(None, cmdargs)
else:
- gitdir = os.path.join(gitdir, '.git')
logger.debug('Checking hash on %s:%s', when, fn)
# XXX: We should probably pipe the two commands instead of reading into memory,
# so something to consider for the future