diff options
-rw-r--r-- | doc/bugs/tests_fail_when_there_is_no_global_.gitconfig_for_the_user.mdwn | 25 |
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. |