* Re: Temporary directories getting errantly added into trees
2007-11-22 10:55 ` Johannes Schindelin
@ 2007-11-22 11:01 ` Martin Langhoff
2007-11-22 11:30 ` Johannes Schindelin
2007-11-22 11:37 ` Junio C Hamano
2007-11-22 11:16 ` Jeff King
` (2 subsequent siblings)
3 siblings, 2 replies; 12+ messages in thread
From: Martin Langhoff @ 2007-11-22 11:01 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Sam Vilain, Git Mailing List
On Nov 22, 2007 11:55 PM, Johannes Schindelin > While we're at it,
could we change the name so that it is .git/rebase, and
> not .dotest or .git/.dotest-merge?
+1 on that
> ... 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.
when it comes to .dotest/patch, it must be reasonably accessible. When
git-am refuses to apply a patch, and I am resolving things by hand, I
need it pretty handy. I also sometimes edit .dotest/msg-clean.
cheers,
m
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Temporary directories getting errantly added into trees
2007-11-22 11:01 ` Martin Langhoff
@ 2007-11-22 11:30 ` Johannes Schindelin
2007-11-22 11:37 ` Junio C Hamano
1 sibling, 0 replies; 12+ messages in thread
From: Johannes Schindelin @ 2007-11-22 11:30 UTC (permalink / raw)
To: Martin Langhoff; +Cc: Sam Vilain, Git Mailing List
Hi,
On Fri, 23 Nov 2007, Martin Langhoff wrote:
> On Nov 22, 2007 11:55 PM, Johannes Schindelin
>
> > ... 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.
>
> when it comes to .dotest/patch, it must be reasonably accessible. When
> git-am refuses to apply a patch, and I am resolving things by hand, I
> need it pretty handy. I also sometimes edit .dotest/msg-clean.
Maybe install a .dotest/ symlink for a few "git eons", i.e. some 6 months?
Although this will not work on Windows, I see not much problems in it,
since Windows users are not big in scripting (at least the git
type) anyway.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Temporary directories getting errantly added into trees
2007-11-22 11:01 ` Martin Langhoff
2007-11-22 11:30 ` Johannes Schindelin
@ 2007-11-22 11:37 ` Junio C Hamano
1 sibling, 0 replies; 12+ messages in thread
From: Junio C Hamano @ 2007-11-22 11:37 UTC (permalink / raw)
To: Martin Langhoff; +Cc: Johannes Schindelin, Sam Vilain, Git Mailing List
"Martin Langhoff" <martin.langhoff@gmail.com> writes:
> when it comes to .dotest/patch, it must be reasonably accessible. When
> git-am refuses to apply a patch, and I am resolving things by hand, I
> need it pretty handy. I also sometimes edit .dotest/msg-clean.
Any serious "am" user shares the habit to edit .dotest/patch and
it would be VERY painful to change this, I suspect.
I do not mind shipping .dotest in the sample templates/info--exclude
file, though.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Temporary directories getting errantly added into trees
2007-11-22 10:55 ` Johannes Schindelin
2007-11-22 11:01 ` Martin Langhoff
@ 2007-11-22 11:16 ` Jeff King
2007-11-22 11:32 ` Johannes Schindelin
2007-11-23 8:21 ` Karl Hasselström
2007-11-23 14:44 ` Marco Costalba
3 siblings, 1 reply; 12+ messages in thread
From: Jeff King @ 2007-11-22 11:16 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Sam Vilain, Git Mailing List
On Thu, Nov 22, 2007 at 10:55:00AM +0000, Johannes Schindelin wrote:
> While we're at it, could we change the name so that it is .git/rebase, and
> not .dotest or .git/.dotest-merge?
I totally agree.
> 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.
-Peff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Temporary directories getting errantly added into trees
2007-11-22 11:16 ` Jeff King
@ 2007-11-22 11:32 ` Johannes Schindelin
0 siblings, 0 replies; 12+ messages in thread
From: Johannes Schindelin @ 2007-11-22 11:32 UTC (permalink / raw)
To: Jeff King; +Cc: Sam Vilain, Git Mailing List
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Temporary directories getting errantly added into trees
2007-11-22 10:55 ` Johannes Schindelin
2007-11-22 11:01 ` Martin Langhoff
2007-11-22 11:16 ` Jeff King
@ 2007-11-23 8:21 ` Karl Hasselström
2007-11-24 0:07 ` Sam Vilain
2007-11-23 14:44 ` Marco Costalba
3 siblings, 1 reply; 12+ messages in thread
From: Karl Hasselström @ 2007-11-23 8:21 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Sam Vilain, Git Mailing List
On 2007-11-22 10:55:00 +0000, Johannes Schindelin wrote:
> But I don't know about QGit, StGit, etc...
I don't think StGit relies on the name of any file outside .git. (It
does pollute the root of the worktree with some temp files of its own,
though -- but not across invocations.)
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Temporary directories getting errantly added into trees
2007-11-23 8:21 ` Karl Hasselström
@ 2007-11-24 0:07 ` Sam Vilain
0 siblings, 0 replies; 12+ messages in thread
From: Sam Vilain @ 2007-11-24 0:07 UTC (permalink / raw)
To: Karl Hasselström; +Cc: Johannes Schindelin, Git Mailing List
Karl Hasselström wrote:
>> But I don't know about QGit, StGit, etc...
>>
> I don't think StGit relies on the name of any file outside .git. (It
> does pollute the root of the worktree with some temp files of its own,
> though -- but not across invocations.)
>
Yes, I've had to add .tmp_msg* to my .git/info/exclude for those, too.
Given nothing cares, perhaps put them under .git anyway?
Sam.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Temporary directories getting errantly added into trees
2007-11-22 10:55 ` Johannes Schindelin
` (2 preceding siblings ...)
2007-11-23 8:21 ` Karl Hasselström
@ 2007-11-23 14:44 ` Marco Costalba
3 siblings, 0 replies; 12+ messages in thread
From: Marco Costalba @ 2007-11-23 14:44 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Sam Vilain, Git Mailing List
On Nov 22, 2007 11:55 AM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
>
> But I don't know about QGit, StGit, etc...
>
QGit does not rely on .dotest or any other temporary file produced by git
Interface with git is only through git commands.
Thanks
Marco
^ permalink raw reply [flat|nested] 12+ messages in thread