summaryrefslogtreecommitdiff
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:31:48 -0400
commitc5cfd019feb50632f6f125e8ce36ceec807e7a27 (patch)
treec63d22fc4c08b5e1014c9b60f5af1b58e3673f3b
parentd8a906e53110721efb94b09776a96b22a06d5148 (diff)
downloadb4-c5cfd019feb50632f6f125e8ce36ceec807e7a27.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 a12468b..8d8911d 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -652,7 +652,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