git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] filter-branch: Export variable `workdir' for --commit-filter

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 8, 2011, 19:11 UTC
Message-ID
<7vzkjjwvuk.fsf@alter.siamese.dyndns.org>
In-Reply-To
<f06dd070abcc485e98c054ec3ee298f9-mfwitten@gmail.com>
Michael Witten <mfwitten@gmail.com> writes:
Show 11 quoted lines
> According to `git help filter-branch':
>
>        --commit-filter <command>
>            ...
>            You can use the _map_ convenience function in this filter,
>            and other convenience functions, too...
>            ...
>
> However, it turns out that `map' hasn't been usable because it depends
> on the variable `workdir', which is not propogated to the environment
> of the shell that runs the commit-filter <command>...
Thanks.
Previous: Michael Witten
Message 2 of 2 in “filter-branch: Export variable `workdir' for --commit-filter”
  1. filter-branch: Export variable `workdir' for --commit-filterMichael Witten, Aug 7, 2011
  2. Junio C HamanoAug 8, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.