Open rschmitty opened 12 years ago
Hmm actually seems its a problem with the --local flag. I took out the authors file and now it errors on this:
Running command: git config --local --get user.email
error: unknown option `local'
usage: git config [options]
<snip>
Running command: git checkout -f master
error: pathspec 'master' did not match any file(s) known to git.
command failed:
2>&1 git checkout -f master
I am getting the same error.
quoting from the git config documentation:
The file-option can be one of --system, --global or --file
So there is no --local flag. This option should be removed.
see issue #45. The error disappears when --local is removed from migration.rb, and the gem is rebuilt and installed.
I am getting the same error how do I get around this?
Using current svn2git, you should use this syntax:
svn2git repository --authors filename.txt
as explained here: https://github.com/nirvdrum/svn2git#authors
I setup an authors file in ~/.svn2git/authors and then ran the following command
And it errored around git config --local
Running git 1.7.1