Ticket #1364 (new enhancement)

Opened 15 months ago

Allow dogit* syncers to work with detached GITDIR

Reported by: zimous Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: 2.4.0
Keywords: git sync Cc:
Blocked By: Blocking:
Distribution: N/A


Syncing a git repository with detached GITDIR does not work. The reason for this are too restrictive checks which require .git to be a directory. Patch is attached.

Rationale for detached GITDIR: I am using the machine as a mirror in the local network. So the GITDIR is placed in /srv/git/<repo> for serving the mirror and at the same time it is used for the worktree in /var/db/paludis/<repo>. There are many ways to work around the issue but imo weakening the checks is the right thing to do.


paludis-3.0.0-gitdir.patch Download (882 bytes) - added by zimous 15 months ago.

Change History

Changed 15 months ago by zimous


Note: See TracTickets for help on using tickets.