Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
d63339ec
Commit
d63339ec
authored
Mar 11, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix update_hooks task
parent
4d24c3bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/tasks/update_hooks.rake
lib/tasks/update_hooks.rake
+1
-1
No files found.
lib/tasks/update_hooks.rake
View file @
d63339ec
...
@@ -4,7 +4,7 @@ task :update_hooks => :environment do
...
@@ -4,7 +4,7 @@ task :update_hooks => :environment do
Project
.
find_each
(
:batch_size
=>
100
)
do
|
project
|
Project
.
find_each
(
:batch_size
=>
100
)
do
|
project
|
begin
begin
if
project
.
commit
if
project
.
commit
project
.
repository
.
write_hooks
project
.
write_hooks
print
"."
.
green
print
"."
.
green
end
end
rescue
Exception
=>
e
rescue
Exception
=>
e
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment