BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
b155a44e
Commit
b155a44e
authored
Feb 26, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'backup_restore_hooks_bug' into 'master'
Fix backup/restore git hooks bug
parents
fd3ab695
91c70c5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
repository.rb
lib/backup/repository.rb
+1
-2
No files found.
lib/backup/repository.rb
View file @
b155a44e
...
...
@@ -72,8 +72,7 @@ module Backup
end
print
'Put GitLab hooks in repositories dirs'
.
yellow
gitlab_shell_user_home
=
File
.
expand_path
(
"~
#{
Gitlab
.
config
.
gitlab_shell
.
ssh_user
}
"
)
if
system
(
"
#{
gitlab_shell_user_home
}
/gitlab-shell/support/rewrite-hooks.sh"
,
Gitlab
.
config
.
gitlab_shell
.
repos_path
)
if
system
(
"
#{
Gitlab
.
config
.
gitlab_shell
.
path
}
/support/rewrite-hooks.sh"
,
Gitlab
.
config
.
gitlab_shell
.
repos_path
)
puts
" [DONE]"
.
green
else
puts
" [FAILED]"
.
red
...
...
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