From c5cfd019feb50632f6f125e8ce36ceec807e7a27 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 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 -- cgit v1.2.3