Re: [PATCH] git config: do not create .git/ if it does not exist yet

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

 



Hi Peff, John & Junio (who recommended GIT_CEILING_DIRECTORIES first,

On Wed, 24 Feb 2016, Jeff King wrote:

> On Wed, Feb 24, 2016 at 10:14:03AM +0000, John Keeping wrote:
> 
> > On Wed, Feb 24, 2016 at 03:26:57AM -0500, Jeff King wrote:
> > > On Wed, Feb 24, 2016 at 08:47:00AM +0100, Johannes Schindelin wrote:
> > > 
> > > > 	I cannot think of a way how to test this: all of the regression
> > > > 	tests run inside Git's own worktree, and we cannot even assume
> > > > 	that /tmp/ is outside of a worktree (or that it exists).
> > > 
> > > We could make the test conditional on whether we are in a repo. Anybody
> > > who builds from a tarball, or who uses --root would then run the test.
> > 
> > Could we use GIT_CEILING_DIRECTORIES for this?

Absolutely. I created a test and essentially duplicated Peff's finding:
this is a Windows-only issue.

Will keep you posted,
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]