doc: filter-branch does not require re-export of vars

The function `set_ident` in `filter-branch` exported the variables GIT_(AUTHOR|COMMITTER)_(NAME|EMAIL|DATE) at least since 6f6826c52b in 2007. Therefore the filter scripts don't need to re-eport them again. Signed-off-by: Andreas Heiduk <asheiduk@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Andreas Heiduk committed May 26, 2017 at 19:36 UTC ba746ff9c931000d123aff35cfa922093dc29380
1 file changed +1 -4
Documentation/git-filter-branch.txt
+1 -4
@@ -86,8 +86,7 @@ OPTIONS
86 This filter may be used if you only need to modify the environment
87 in which the commit will be performed. Specifically, you might
88 want to rewrite the author/committer name/email/time environment
89 - variables (see linkgit:git-commit-tree[1] for details). Do not forget
90 - to re-export the variables.
89 + variables (see linkgit:git-commit-tree[1] for details).
90
91 --tree-filter <command>::
92 This is the filter for rewriting the tree and its contents.
@@ -342,12 +341,10 @@ git filter-branch --env-filter '
341 if test "$GIT_AUTHOR_EMAIL" = "root@localhost"
342 then
343 GIT_AUTHOR_EMAIL=john@example.com
345 - export GIT_AUTHOR_EMAIL
344 fi
345 if test "$GIT_COMMITTER_EMAIL" = "root@localhost"
346 then
347 GIT_COMMITTER_EMAIL=john@example.com
350 - export GIT_COMMITTER_EMAIL
348 fi
349 ' -- --all
350 --------------------------------------------------------