trigger POST_CREATE from user actions
- uncomment the POST_CREATE section in rc by default now - have perms call 'gitolite trigger POST_CREATE'
This commit is contained in:
parent
5e2e13aac2
commit
bb9f045ec3
3 changed files with 93 additions and 5 deletions
|
@ -35,6 +35,7 @@ if ( $ARGV[0] eq '-l' ) {
|
|||
}
|
||||
|
||||
setperms(@ARGV);
|
||||
_system("gitolite", "trigger", "POST_CREATE");
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
|
@ -62,7 +63,7 @@ sub setperms {
|
|||
push @a, $_;
|
||||
}
|
||||
_print( $pf, @a );
|
||||
exit;
|
||||
return;
|
||||
}
|
||||
|
||||
_die "Invalid syntax. Please re-run with '-h' for detailed usage" if @_ != 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue