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

Commit9766832

Browse files
committed
Update check method to find all includes
1 parentc16f584 commit9766832

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎git/config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,10 @@ def string_decode(v):
446446
raisee
447447

448448
def_has_includes(self):
449-
returnself._merge_includesandself.has_section('include')
449+
returnself._merge_includesandany(
450+
section=='include'orsection.startswith('includeIf ')
451+
forsectioninself.sections()
452+
)
450453

451454
defread(self):
452455
"""Reads the data stored in the files we have been initialized with. It will

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp