forked from kubitron/redmine_git_hosting
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed weird race condition with cron cleanup of /tmp (such as tmpwatch).
Now, clone_or_pull_gitolite_admin() will refuse to merge in existing changes (which could involve deletes from tmpwatch). Instead, it will recognize the unmerged changes and simply delete and reclone. Note that such unmerged changes will not exist unless something bad has happened. Cleanup may require executing a RESYNC_ALL operation (i.e. fetch_changesets).
- Loading branch information
Showing
1 changed file
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters