Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to set the LOCAL_CODE variable in my .gitolite.rc. I tried to set $LOCAL_CODE = "/home/gitolite/.gitolite/local-code"; and the setting from this.

But gl-query-rc LOCAL_CODE is empty.

The Link above says that some packages can handle this variable different. How to set it in Ubuntu 12.04?

share|improve this question

1 Answer 1

apt-get installed v2 of gitolite and it seems that $LOCAL_CODE was introduced with v3. You can either put your hooks into hooks/common of use v3 from their git. I choosed the second solution.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.