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

Re: [PATCHv3] filter-branch: Add more error-handling

From
EKEric Kidd <git@randomhacks.net>
Date
Feb 11, 2009, 21:00 UTC
Message-ID
<431341160902111300r1a1c3a22n3c098a7d824a3fca@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0902112145400.10279@pacific.mpi-cbg.de>

On Wed, Feb 11, 2009 at 3:48 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

> I haven't checked, but is "$tempdir" not the working directory?  If so,
> this would lead to funny interaction with --tree-filter.  Rather, I'd
> write the file into "$GIT_DIR".  Likewise the other files.
The working directory actually lives one level down:
 tempdir=.git-rewrite
 workdir="$tempdir/t"

At the end of the script, git-filter-branch cleans up all of its temporary files by deleting $tempdir. There's actually a fair bit of stuff in there already, and none of it interferes with --tree-filter.

Show 5 quoted lines
> That's not how it is supposed to be used.  Rather,
>
>        test_expect_success $LABEL '
>                test_must_fail git filter-branc $OPTIONS
>        '
Will fix. Thank you.

I really appreciate all this feedback from the git team. Thank you for taking the time to help me get this right!

Cheers, Eric

Previous: Johannes SchindelinNext: Eric Kidd
Message 10 of 13 in “git-filter-branch: Add more error-handling”
  1. git-filter-branch: Add more error-handlingEric Kidd, Feb 11, 2009
  2. Johannes SixtFeb 11, 2009
  3. Johannes SixtFeb 11, 2009
  4. Johannes SchindelinFeb 11, 2009
  5. filter-branch: Add more error-handlingEric Kidd, Feb 11, 2009
  6. Junio C HamanoFeb 11, 2009
  7. Eric KiddFeb 11, 2009
  8. [PATCHv3] filter-branch: Add more error-handlingEric Kidd, Feb 11, 2009
  9. Johannes SchindelinFeb 11, 2009
  10. Eric KiddFeb 11, 2009
  11. [PATCHv4] filter-branch: Add more error-handlingEric Kidd, Feb 11, 2009
  12. Nanako ShiraishiFeb 11, 2009
  13. Junio C HamanoFeb 11, 2009

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.