Patch #9129

Updated by Toshi MARUYAMA over 1 year ago

Setting up git usually involves either:

<pre>
git clone git://github.com/ook/donebox.git
</pre>

or

<pre>
mkdir foo; cd foo; git init
</pre>

Redmine wants its git repository set up in a "nonstandard", "bare" way.

So it's very easy to get the setup wrong (#9128), (http://www.redmine.org/issues/9128), the error messages are not really helpful, there is no help from the setup page itself and "the relevant help page":http://www.redmine.org/projects/redmine/wiki/RedmineRepositories#Git-repository in the Redmine wiki is hard to find and the text accompanying the relevant configuration option is "easy to missunderstand":http://www.redmine.org/projects/redmine/wiki/RedmineRepositories/diff?project_id=redmine&version=40&version_from=39&commit=View+differences.

I'd like to suggest the following changes:

1. change the text that accompanies the "path" configuration option from "Bare and local repository (e.g. /gitrepo, c:\gitrepo)" to "repository that is bare and local (e.g. /gitrepo, c:\gitrepo)". (see "here":http://www.redmine.org/projects/redmine/wiki/RedmineRepositories/diff?project_id=redmine&version=40&version_from=39&commit=View+differences for the rationale)

2. Add a "Help" link to the text that is accompanying the "path" configuration option, that points to http://www.redmine.org/projects/redmine/wiki/RedmineRepositories#Git-repository

Back