This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus 2011-02-09 09:09:44 +00:00 committed by admin
parent 2bd16f84ae
commit 0fb84912b6

View file

@ -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.