From 6cb93bf478e7dd6253c9a644aff8758ce9aacf49 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 5 Jul 2007 17:07:48 +0100 Subject: filter-branch documentation: clarify which filters are eval'ed All filters, except the commit filter, are evaluated. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- Documentation/git-filter-branch.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Documentation/git-filter-branch.txt') diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt index 219a81db0c..eaea82d0a6 100644 --- a/Documentation/git-filter-branch.txt +++ b/Documentation/git-filter-branch.txt @@ -50,7 +50,8 @@ Filters ~~~~~~~ The filters are applied in the order as listed below. The -argument is always evaluated in shell using the 'eval' command. +argument is always evaluated in shell using the 'eval' command (with the +notable exception of the commit filter, for technical reasons). Prior to that, the $GIT_COMMIT environment variable will be set to contain the id of the commit being rewritten. Also, GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_AUTHOR_DATE, GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL, -- cgit v1.2.3