[Bug 985383] New: git-annex inoperable because git user.email config variable ignored
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 17 11:17:06 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=985383
Bug ID: 985383
Summary: git-annex inoperable because git user.email config
variable ignored
Product: Fedora
Version: 19
Component: git-annex
Severity: high
Priority: unspecified
Assignee: mathstuf at gmail.com
Reporter: sdeasey at gmail.com
QA Contact: extras-qa at fedoraproject.org
CC: haskell-devel at lists.fedoraproject.org,
mathstuf at gmail.com
Description of problem:
git annex can't read the user.email variable from ~/.gitconfig even though it
exists, and refuses to operate.
Version-Release number of selected component (if applicable):
git-annex-3.20121009-3.fc19.x86_64
git-1.8.3.1-1.fc19.x86_64
How reproducible:
Always.
Steps to Reproduce:
$ mkdir test1
$ cd test1
$ git init
Initialized empty Git repository in /home/jo/test1/.git/
$ git annex init
init
*** Please tell me who you are.
Run
git config --global user.email "you at 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 name (for <jo at machine.(none)>) not allowed
git-annex: user error (git
["--git-dir=/home/jo/test1/.git","--work-tree=/home/jo/test1","commit-tree","4b825dc642cb6eb9a060e54bf8d69288fbee4904"]
exited 128)
failed
git-annex: init: 1 failed
$ git config --global user.name Jo
$ git config --global user.email jo at example.com
$ cat ~/.gitconfig
[user]
name = Jo
email = jo at example.com
$ git config --global user.email
jo at example.com
$ git config user.email
jo at example.com
$ git annex init
init
*** Please tell me who you are.
Run
git config --global user.email "you at 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 name (for <jo at yo.(none)>) not allowed
git-annex: user error (git
["--git-dir=/home/jo/test1/.git","--work-tree=/home/jo/test1","commit-tree","4b825dc642cb6eb9a060e54bf8d69288fbee4904"]
exited 128)
failed
git-annex: init: 1 failed
Actual results:
git-annex: init: 1 failed
Expected results:
The annex repo should be initialised with the settings from ~/.gitconfig
Additional info:
env | grep GIT
<nothing>
Tested with a fresh user account.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=GFiSaGpVvi&a=cc_unsubscribe
More information about the haskell-devel
mailing list