[CGit] [PATCH v2 6/6] filters: document environment variables in filter scripts

Ferry Huberts mailings at hupie.com
Sun Mar 6 22:27:57 CET 2011


On 03/06/2011 03:58 PM, Lars Hjemli wrote:
> On Fri, Mar 4, 2011 at 01:31, Ferry Huberts <mailings at hupie.com> wrote:
>> +# The following environment variables can be used to retrieve the configuration
>> +# of the repository for which this script is called:
>> +# CGIT_REPO_URL        ( = repo.url       setting )
>> +# CGIT_REPO_NAME       ( = repo.name      setting )
>> +# CGIT_REPO_PATH       ( = repo.path      setting )
>> +# CGIT_REPO_OWNER      ( = repo.owner     setting )
>> +# CGIT_REPO_DEFBRANCH  ( = repo.defbranch setting )
>> +# CGIT_REPO_SECTION    ( = section        setting )
>> +# CGIT_REPO_CLONE_URL  ( = repo.clone-url setting )
> 
> Thanks, this is very useful. But maybe also cgitrc.5.txt should be
> extended with a section about the filter api?
> 
> --
> larsh

will look at it

-- 
Ferry Huberts




More information about the CGit mailing list