Skip to content

Commit

Permalink
fork command should add hooks from LOCAL_CODE if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaramc committed Jun 4, 2013
1 parent 412d9ab commit b2ebc9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/fork
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ echo "$from forked to $to" >&2
cd $GL_REPO_BASE/$to.git
echo $GL_USER > gl-creator

gitolite query-rc -q LOCAL_CODE && ln -sf `gitolite query-rc LOCAL_CODE`/hooks/common/* hooks
ln -sf `gitolite query-rc GL_ADMIN_BASE`/hooks/common/* hooks

# record where you came from
Expand Down

0 comments on commit b2ebc9b

Please sign in to comment.