Skip to content

Commit a221d6b

Browse files
author
root
committed
Fix #384
1 parent cfa35d9 commit a221d6b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Diff for: app/controllers/gitolite_hooks_controller.rb

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ def post_receive
2121

2222

2323
def post_receive_redmine
24-
# Clear existing cache
25-
@repository.empty_cache!
26-
2724
# Set response headers
2825
set_response_headers
2926

Diff for: app/models/repository/xitolite.rb

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ def mirror_push(url, branch, args = [])
7272
end
7373

7474

75+
def fetch_changesets
76+
empty_cache!
77+
super
78+
end
79+
80+
7581
private
7682

7783

0 commit comments

Comments
 (0)