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

Re: [PATCH] filter-branch.sh: remove temporary directory on failure

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 30, 2008, 05:51 UTC
Message-ID
<7v3asfkgii.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<479E4612.6030006@nrlssc.navy.mil>
Brandon Casey <casey@nrlssc.navy.mil> writes:
Show 12 quoted lines
> Even though this directory may be useful for debugging when you encounter
> a problem, I wonder if the normal "error" will be _user_ error. In which
> case the user will adjust the command line parameters and try to rerun.
> Currently the user would then receive the message
>
>      "$tempdir already exists, please remove it"
>
> Then, rm -rf the tempdir, then rerun.
>
> Is this necessary? Maybe anyone with the know-how to debug would also have the
> know-how to comment out the 'trap' in the script (or direct someone asking for
> help on the mailing list to do so).
Makes sense to me.  Dscho?
Previous: Brandon CaseyNext: Johannes Schindelin
Message 2 of 3 in “filter-branch.sh: remove temporary directory on failure”
  1. filter-branch.sh: remove temporary directory on failureBrandon Casey, Jan 28, 2008
  2. Junio C HamanoJan 30, 2008
  3. Johannes SchindelinJan 30, 2008

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.