Opened 6 years ago

Closed 20 months ago

#8260 closed defect (wontfix)

Browse with 'bare' repository fails

Reported by: shogsbro Owned by: hvr
Priority: high Component: GitPlugin
Severity: critical Keywords: bare repository
Cc: Trac Release: 0.12


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 5 years ago by Benjamin

  • Keywords bare repository added
  • Priority changed from normal to high
  • Severity changed from normal to critical

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

comment:2 Changed 5 years ago by magon@…

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 20 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

GitPlugin is deprecated. Please upgrade to Trac 1.0 and use TracGit.

Add Comment

Modify Ticket

as closed The owner will remain hvr.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.