Project

General

Profile

Git bare repository; diffs not available

Added by Marcin Gil almost 16 years ago

I store my projects git --bare repositories on my shared hosting. I have a redmine installed and running properly.

However I am unable to add repository to Redmine since these do not have .git directories. How can I make it work in Redmine?

Thanks!


Replies (4)

RE: Git bare repository; diffs not available - Added by Thomas Lecavelier almost 16 years ago

The only current way is to clone a plain copy of your git repository. Do you know if it's possible to make a distant diff with git?

RE: Git bare repository; diffs not available - Added by Marcin Gil almost 16 years ago

I don't know what you mean by "distant diff" - but my git capabilities are small.

RE: Git bare repository; diffs not available - Added by Marcin Gil almost 16 years ago

Ok, I've cloned it and I have a normal working directory (ie. .git dir and working copy checked out).
Still, Redmine doesn't display any information about the repository. I have autofetch commits checked in settings.

RE: Git bare repository; diffs not available - Added by Marcin Gil almost 16 years ago

Processing RepositoriesController#show (for 78.8.9.31 at 2008-05-20 05:56:12) [GET]
Session ID: ab707549c9a69c37451a5aca38aa874e
Parameters: {"action"=>"show", "id"=>"kountdown", "controller"=>"repositories"}
Rendering status500nothingtruelayoutfalse within layouts/base
Completed in 0.08028 (12 reqs/sec) | Rendering: 0.01192 (14%) | DB: 0.00425 (5%) | 500 Internal Server Error [http://marcin.gilowie.pl/dev/repositories/show/kountdown]

    (1-4/4)