From af8a12509de3e71b8c7dd6d6e0fd9f1752502b08 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Thu, 17 Jun 2021 10:31:48 -0400 Subject: 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 --- b4/__init__.py | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.2.3