Package: git-annex
Version: 3.20121009
Severity: important

Hi Joey,

This is the first time I used git-annex and to my surprise it failed.
I was folowing the walkthrough [0].

-----
§ git init
Initialized empty Git repository in /home/rjc/annex/.git/
rjc at thor in [ ~/annex ]
± git annex init "iBook"
init iBook 
*** Please tell me who you are.

Run

  git config --global user.email "y...@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  <rjc@thor.local
> not allowed

git-annex: user error (git 
["--git-dir=/home/rjc/annex/.git","--work-tree=/home/rjc/annex","commit-tree","4b825dc642cb6eb9a060e54bf8d69288fbee4904"]
 exited 128)
failed
git-annex: init: 1 failed
-----

git-annex fails to read $HOME/.gitconfig, which of course contains the
required configuration.

rjc at thor in [ ~/annex ]
± head -n 3 $HOME/.gitconfig
[user]
        name = $my_name
        email = $my_email

Adding the above to .git/config solves the problem.

[0] http://git-annex.branchable.com/walkthrough/#index1h2

Regards,

rjc

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (999, 'unstable'), (500, 'testing-proposed-updates'), (500, 
'stable-updates'), (500, 'testing'), (1, 'experimental'), (1, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-annex depends on:
ii  curl            7.27.0-1
ii  git             1:1.7.10.4-1
ii  libc6           2.13-35
ii  libffi5         3.0.10-3
ii  libgmp10        2:5.0.5+dfsg-2
ii  libpcre3        1:8.31-1
ii  libxml2         2.8.0+dfsg1-6
ii  openssh-client  1:6.0p1-3
ii  rsync           3.0.9-3
ii  uuid            1.6.2-1.3
ii  wget            1.14-1

Versions of packages git-annex recommends:
ii  gnupg  1.4.12-4+b1
ii  lsof   4.86+dfsg-1

Versions of packages git-annex suggests:
ii  bup          0.25~git2011.11.04-5
ii  graphviz     2.26.3-12
ii  libnss-mdns  0.10-3.2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to