test: Added --test-with-git-config option

Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
Joey Hess 2022-09-22 15:58:45 -04:00
parent d049228fd3
commit f64eff9355
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 47 additions and 8 deletions

View file

@ -1,5 +1,8 @@
`git-annex test` prevents ~/.gitconfig or /etc/gitconfig from being read.
The `-c` option also doesn't propagate into the test suite.
It would sometimes be useful to test git-annex with a given git config set.
Although some might break the test suite, others might expose actual bugs
in git-annex. --[[Joey]]
> Added "--test-git-config" option, [[done]] --[[Joey]]