Re: Built-in checkout: wrong behaviour in subdirectories

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

 



On Wed, 20 Feb 2008, Clemens Buchacher wrote:

> Hi,
> 
> The following test shows a problem since commit 782c2d6 (Build in checkout):
> 
> mkdir testrep
> cd testrep
> git init
> 
> : >file1
> git add file1
> git commit -m 'initial'
> 
> git branch dev
> 
> mkdir dir1
> cd dir1
> # this creates dir1/file1
> git checkout dev

I was just recently wondering why that worked (in the context of trying to 
have builtin-clone work the same way). Guess that explains it...

Junio: it looks like something used to cause read-tree to be run with 
pwd being the working tree root in git-checkout.sh; is that something that 
should be done in setup for builtin-checkout, or should unpack_trees learn 
how to deal correctly with a non-pwd work tree root?

	-Daniel
*This .sig left intentionally blank*
-
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