Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit80d4311

Browse files
committed
fix(config): care tilde in include.path config
1 parentbbf0434 commit80d4311

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎git/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ def read(self):
386386
# We expect all paths to be normalized and absolute (and will assure that is the case)
387387
ifself._has_includes():
388388
for_,include_pathinself.items('include'):
389+
if'~'ininclude_path:
390+
include_path=os.path.expanduser(include_path)
389391
ifnotos.path.isabs(include_path):
390392
ifnotclose_fp:
391393
continue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp