1
0
Fork 0

Merging upstream version 2.10.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 21:23:50 +01:00
parent 22fa9cbff7
commit 49934447ef
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
17 changed files with 286 additions and 39 deletions

View file

@ -61,7 +61,7 @@ def get_root() -> str:
'git failed. Is it installed, and are you in a Git repository '
'directory?',
)
if os.path.commonpath((root, git_dir)) == git_dir:
if os.path.samefile(root, git_dir):
raise FatalError(
'git toplevel unexpectedly empty! make sure you are not '
'inside the `.git` directory of your repository.',