diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3227,7 +3227,7 @@ class Project: | |||
3227 | # Rewrite the internal state files to use relative paths between the | 3227 | # Rewrite the internal state files to use relative paths between the |
3228 | # checkouts & worktrees. | 3228 | # checkouts & worktrees. |
3229 | dotgit = os.path.join(self.worktree, ".git") | 3229 | dotgit = os.path.join(self.worktree, ".git") |
3230 | with open(dotgit, "r") as fp: | 3230 | with open(dotgit) as fp: |
3231 | # Figure out the checkout->worktree path. | 3231 | # Figure out the checkout->worktree path. |
3232 | setting = fp.read() | 3232 | setting = fp.read() |
3233 | assert setting.startswith("gitdir:") | 3233 | assert setting.startswith("gitdir:") |