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

Lars Hjemli hjemli at gmail.com
Sun Mar 6 15:58:51 CET 2011


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




More information about the CGit mailing list