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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 29 Jan 2008, Junio C Hamano wrote:

> Brandon Casey <casey@xxxxxxxxxxxxxxx> writes:
> 
> > 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?

To me, too.

Acked-by: Johannes Schindelin <Johannes.Schindelin@xxxxxx>

Thanks,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux