Are repos without .git/config necessarily invalid?
zx2c4@thinkpad ~ $ mkdir abcd
zx2c4@thinkpad ~ $ cd abcd
zx2c4@thinkpad ~/abcd $ git init
Initialized empty Git repository in /home/zx2c4/abcd/.git/
zx2c4@thinkpad ~/abcd $ touch file
zx2c4@thinkpad ~/abcd $ git add file
zx2c4@thinkpad ~/abcd $
From: Christian Hesse
We can live without config, but print an error if it is not readable.
---
scan-tree.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scan-tree.c b/scan-tree.c
index 2e87999..bc17d14 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@