8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a613938 commit 34afc11Copy full SHA for 34afc11
git/config.py
@@ -211,7 +211,7 @@ def get_config_path(config_level):
211
elif config_level == "global":
212
return osp.normpath(osp.expanduser("~/.gitconfig"))
213
elif config_level == "repository":
214
- raise ValueError("repository configuration level not allowed")
+ raise ValueError("No repo to get repository configuration from. Use Repo._get_config_path")
215
216
ValueError("Invalid configuration level: %r" % config_level)
217
0 commit comments