Modify ↓
Opened 14 years ago
Closed 9 years ago
#8260 closed defect (wontfix)
Browse with 'bare' repository fails
Reported by: | Sigurd Hogsbro | Owned by: | Herbert Valerio Riedel |
---|---|---|---|
Priority: | high | Component: | GitPlugin |
Severity: | critical | Keywords: | bare repository |
Cc: | Trac Release: | 0.12 |
Description
When adding a 'bare' repo (as initialized by gitolite post-receive hook), GitPlugin shows an error when 'Browse Source' is clicked.
GitError: read_commit called with empty commit_id
Attachments (0)
Change History (3)
comment:1 Changed 13 years ago by
Keywords: | bare repository added |
---|---|
Priority: | normal → high |
Severity: | normal → critical |
comment:2 Changed 13 years ago by
I have problem with bare repositories generated by gitolite. It had the same symptoms but it showed up, that the problem is with file system permissions. I had to change REPO_UMASK of gitolite to '0027' and add 'git' group to apache user.
But your problem seem that you have bare repository and in addition it is completly empty. Adding first commit to it might help.
comment:3 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
GitPlugin is deprecated. Please upgrade to Trac 1.0 and use TracGit.
Note: See
TracTickets for help on using
tickets.
Is there an update on this issue? The only chance I see is to clone the bare repo automatically somewhere else and point to that location.
The issue is e.g. discussed here
http://stackoverflow.com/questions/5183049/trouble-with-a-git-bare-repository-after-upgrading-trac-from-0-11-to-0-12