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

Commitc5e4334

Browse files
committed
Merge pull request#309 from mihyaeru21/master
care tilde in include.path config
2 parentsbbf0434 +1578baf commitc5e4334

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+
ifinclude_path.startswith('~'):
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