https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-08-25T22:34:17ZRedmineRedmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=317762011-08-25T22:34:17ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Estimated time</strong> deleted (<del><i>0.50 h</i></del>)</li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>You need to use bare repository.<br />I confirmed to pass tests on Mingw Ruby and Windows JRuby.</p> Redmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=317782011-08-25T22:55:32ZTomas Pospisek
<ul></ul><blockquote>
<p>You need to use bare repository.<br />I confirmed to pass tests on Mingw Ruby and Windows JRuby.</p>
</blockquote>
<p>I do not understand.</p>
<p>If I do use the bare the repository it <strong>does not work</strong> on Windows. I <strong>have</strong> to use the <code>*/.git</code> form.</p>
<p>Could you please explain how it is possible that I <strong>have</strong> to work the bare repository and then, if I really do use it, it doesn't work?</p> Redmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=317792011-08-25T22:57:57ZTomas Pospisek
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li><li><strong>Assignee</strong> set to <i>Toshi MARUYAMA</i></li></ul><p>I'm not sure you got my reply, so I'm assigning to you and repeating what I've written:</p>
<blockquote><blockquote>
<p>You need to use bare repository. I confirmed to pass tests on Mingw Ruby and Windows JRuby.</p>
</blockquote>
<p>I do not understand.</p>
<p>If I do use the bare the repository it does not work on Windows. I have to use the */.git form.</p>
<p>Could you please explain how it is possible that I have to work the bare repository and then, if I really do use it, it doesn't work?</p>
</blockquote> Redmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=317802011-08-25T23:05:34ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><pre>
$ git init not-bare
Initialized empty Git repository in /tmp/test00/not-bare/.git/
$ git init --bare bare
Initialized empty Git repository in /tmp/test00/bare/
</pre> Redmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=317812011-08-25T23:06:59ZToshi MARUYAMA
<ul><li><strong>Assignee</strong> deleted (<del><i>Toshi MARUYAMA</i></del>)</li></ul> Redmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=317822011-08-25T23:41:50ZTomas Pospisek
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Sorry, I can't see how "git init --bare" is relevant to this discussion.</p>
<p>Redmine just doesn't work with a local git repository I'd initialized. Please see <a class="external" href="http://www.redmine.org/boards/2/topics/25889">http://www.redmine.org/boards/2/topics/25889</a></p>
<p>The git repository I'm talking about does contain a .git directory with git's own data in it. So it's not bare by any means.</p>
<p>Redmine uses the follwing command to find out about branches inside the repository:</p>
<pre>
"C:\Programm Files\Git\bin\git.exe" "--git-dir" "c:/git_repository/cfm-cmm/" "-c" "core.quotepath=false" "-c" "log.decorate=no" "branch" "--no-color"
</pre>
<p>However that doesn't work. This instead works:</p>
<pre>
"C:\Programm Files\Git\bin\git.exe" "--git-dir" "c:/git_repository/cfm-cmm/.git" "-c" "core.quotepath=false" "-c" "log.decorate=no" "branch" "--no-color"
</pre>
<p>If you could explain me why Redmine + Git fails to work here when used as suggested by you then we could probably close this issue for good.</p> Redmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=317832011-08-25T23:50:15ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>You need to learn what <strong>bare</strong> repository is.</p>
<p>This is Redmine issue tracker, not supporting.<br />You need to use Redmine forum, or other web site.</p> Redmine - Defect #9128: Redmine sugestion of the git repository path is incorrecthttps://www.redmine.org/issues/9128?journal_id=330632011-10-25T10:25:15ZBrendan Loya
<ul></ul><p>SPAM</p>