Re: [PATCH] Set GIT_TEMPLATE_DIR in the testsuite, like it's done in git

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

 



On Sun, 2007-09-09 at 15:44 +0200, Karl Hasselström wrote:
> On 2007-09-09 01:25:59 -0400, Pavel Roskin wrote:
> 
> > Create empty .git/info/exclude, it's needed.
> 
> > +     mkdir .git/info
> > +     touch .git/info/exclude
> 
> Why? Do we try to read .git/info/exclude and die if it doesn't exist?
> That would be intolerant of us.
> 
> ... but no, we do check if .git/info/exclude exists before trying to
> use it. So why is this needed.

I was wrong here.  .git/info/exclude is not needed, but .git/info is.
See t0002-status.sh - it assumes that .git/info exists.

-- 
Regards,
Pavel Roskin
-
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