Version control with git does not work without a set identity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I run Ubuntu 12.04 LTS with Zim 0.59 and git 1.8.1.1.
When using git as version control backend in Zim, I noticed that it does not work out of the box after installing the packages because you haven't set your identy in git yet.
After you save a version "File->Save Version..." and then check the versions "File->
Failed to run application: git
git "commit" "-a" "-m" "Saved version from zim"
returned non-zero exit status 128
If you run "git status", you see that this is because the identity isn't set in git ( that can be set using the commands like "git config --global user.name <NAME>" and "git config --global user.email <EMAIL>" ).
Maybe Zim should check if the identity is set? Or maybe you should just mention this step in the manual for the use of version control? For people with experience with git this isn't a big deal, but people who haven't used it may not know how to solve it easily.
Changed in zim: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in zim: | |
status: | Confirmed → Won't Fix |
Will at least add it to the manual. Checking and prompting the user
for details would be perfect but requires a little more work.
Regards,
Jaap