Git commit error with missing username #8

Closed
jotrk opened this Issue Mar 16, 2013 · 1 comment

Comments

Projects
None yet
2 participants

jotrk commented Mar 16, 2013

As reported for gitit, here's the actual issue with FileStore.

$ ghc-pkg list filestore
/usr/lib/ghc-7.6.2/package.conf.d
/usr/local/cabal/.ghc/x86_64-linux-7.6.2/package.conf.d/
filestore-0.6
$ git --version
git version 1.8.1.5
Prelude Data.FileStore> let fs = (gitFileStore "/tmp/test") 
Prelude Data.FileStore> initialize fs
Prelude Data.FileStore> create (gitFileStore "/tmp/test") "/tmp/test/test.txt" (Author "foo" "bar") "description" "content"

*** Exception: UnknownError: Could not git commit /tmp/test/test.txt

*** 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: unable to auto-detect email address (got 'jrk@pluto.(none)')

jgm added a commit that referenced this issue Mar 20, 2013

Merge pull request #9 from jrk-/master
Fix for issue #8 (git commit error)
Owner

jgm commented Mar 20, 2013

Fixed by 0772638

@jgm jgm closed this Mar 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment