Re: [PATCH] filter-branch.sh: remove temporary directory on failure
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?