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:
Sitaram Chamarty 2012-03-21 13:23:32 +05:30
parent 5e2e13aac2
commit bb9f045ec3
3 changed files with 93 additions and 5 deletions

View file

@ -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;