tags:

views:

627

answers:

1

Is there a way to set repository config variables through the gitosis conf instead of going into each repository and editing the conf values directly?

+1  A: 

I don't think it's possible. On the other hand, it's quite simple to build "porcelain" script that analyzes your gitosis.conf for some special comments encoding the conf values. Then putting such script in a post-commit hook should do the trick.

Gianluca Della Vedova