summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus <Jimmy@web>2011-02-09 09:09:44 +0000
committerGravatar admin <admin@branchable.com>2011-02-09 09:09:44 +0000
commit0fb84912b611e03c47ebd4a3cdd3008dbb5fe417 (patch)
treea1faaebf39b7878a5c4536840e08227136270a62
parent2bd16f84ae3c6a26bff5eb5e4b39221577191def (diff)
-rw-r--r--doc/bugs/tests_fail_when_there_is_no_global_.gitconfig_for_the_user.mdwn25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/bugs/tests_fail_when_there_is_no_global_.gitconfig_for_the_user.mdwn b/doc/bugs/tests_fail_when_there_is_no_global_.gitconfig_for_the_user.mdwn
new file mode 100644
index 000000000..2a26a6726
--- /dev/null
+++ b/doc/bugs/tests_fail_when_there_is_no_global_.gitconfig_for_the_user.mdwn
@@ -0,0 +1,25 @@
+Make test fails when git doesn't know what identity to give to commits
+
+<pre>
+
+Testing 1:blackbox:0:git-annex init
+Cases: 30 Tried: 7 Errors: 0 Failures: 0
+*** Please tell me who you are.
+
+Run
+
+ git config --global user.email "you@example.com"
+ git config --global user.name "Your Name"
+
+to set your account's default identity.
+Omit --global to set the identity only in this repository.
+
+fatal: empty ident <jtang@lenny.localdomain> not allowed
+### Failure in: 1:blackbox:0:git-annex init
+init failed
+Testing 1:blackbox:1:git-annex add:0
+Cases: 30 Tried: 8 Errors: 0 Failures: 1
+*** Please tell me who you are.
+</pre>
+
+I guess most users or people testing git-annex probably have a .gitconfig sitting in their home directories already so the above never cropped up. This failure was initially found in a clean and fresh install of a virtual machine with archlinux and repeated again on my archlinux laptop.