Skip to content

Commit 87a103d

Browse files
benthayerByron
authored andcommitted
Filtered out "repository" more explicitly
1 parent 05b5ced commit 87a103d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def __init__(self, file_or_files=None, read_only=True, merge_includes=True, conf
281281
else:
282282
if config_level is None:
283283
if read_only:
284-
self._file_or_files = [get_config_path(f) for f in CONFIG_LEVELS[:-1]]
284+
self._file_or_files = [get_config_path(f) for f in CONFIG_LEVELS if f != 'repository']
285285
else:
286286
raise ValueError("No configuration level or configuration files specified")
287287
else:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy