Re: Temporary directories getting errantly added into trees

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

 



Hi.

On Thu, 22 Nov 2007, Jeff King wrote:

> On Thu, Nov 22, 2007 at 10:55:00AM +0000, Johannes Schindelin wrote:
> 
> > Yes, I know, existing tools could rely on the location.  But then, I 
> > do not think that tools should be allowed to be _that_ married to 
> > particular implementations.  And indeed, I see no reason why a tool 
> > should access .dotest, except for accessing .dotest/patch, and then it 
> > will be very obvious where it fails.
> 
> Another reason might be something like:
> 
>   test -d .dotest && die "rebase or am already in progress"
> 
> which some of the git tools do, and which third party scripts might care 
> about.

Yep, for example this nice bash-completion addendum which changes the 
prompt according to the current repository's state.

I hope that a symlink .dotest -> .git/rebase (as I suggested in a reply to 
Martin) would help that, but in the long run I'd appreciate losing even 
that.

Ciao,
Dscho

P.S.: note that even a symlink would already help the situation described 
by Sam.

-
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