Fix error message and clarify git version req; fixes #15
This commit is contained in:
parent
08b64d80d9
commit
8516466c19
@ -17,7 +17,7 @@ Then enable the new GitRemote SCM type in [http://redmine-root/settings?tab=repo
|
||||
![](https://dl.dropbox.com/u/29440342/screenshots/AYKNZDTB-2014.11.27-15-59-06.png)
|
||||
|
||||
The plugin shells out to the following binaries, so make sure they're available:
|
||||
* git
|
||||
* git 1.7.5+ - a version recent enough to support `get remote add --mirror=fetch origin URL`
|
||||
* ssh-keyscan
|
||||
* ssh-keygen
|
||||
|
||||
|
@ -110,7 +110,7 @@ class Repository::GitRemote < Repository::Git
|
||||
end
|
||||
|
||||
unless system "git", "--git-dir", clone_path, "remote", "add", "--mirror=fetch", "origin", clone_url
|
||||
return "Unable to run: git --git-dir #{clone_path} remote add #{clone_url}"
|
||||
return "Unable to run: git --git-dir #{clone_path} remote add --mirror=fetch origin #{clone_url}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user