Thread (11 messages) flat view 11 messages, 7 authors, 2016-06-15

Re: Temporary directories getting errantly added into trees

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:53

Hi.

On Thu, 22 Nov 2007, Jeff King wrote:
On Thu, Nov 22, 2007 at 10:55:00AM +0000, Johannes Schindelin wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help