Thread (11 messages) flat view 11 messages, 2 authors, 2016-06-15

Re: [CGit] [PATCH 0/6] Communicate the repo name to the filter scripts

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:50:36

On Thu, Feb 17, 2011 at 22:11, Ferry Huberts [off-list ref] wrote:
This patch series fixes two bugs and communicates the repo name
to the filter scripts.
Thanks, but I think the current filter invocations with unnamed,
positional command arguments was a mistake. We should probably fix it
instead of extending it, taking care not to break backwards
compatibility.

The easiest fix would be to add some environment variables:
* GIT_DIR
* CGIT_REPO_NAME
* CGIT_REPO_REL_URL
* CGIT_REPO_ABS_URL
* CGIT_BRANCH_NAME
* CGIT_COMMIT_ID
* CGIT_PATH_FILTER

What do you think?

--
larsh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help