Re: [PATCH] setup: suppress implicit "." work-tree for bare repos

2013-03-08 Thread Jeff King
On Thu, Mar 07, 2013 at 11:54:18PM -0800, Junio C Hamano wrote: > Jeff King writes: > > > diff --git a/cache.h b/cache.h > > index e493563..070169a 100644 > > --- a/cache.h > > +++ b/cache.h > > @@ -344,6 +344,7 @@ static inline enum object_type object_type(unsigned int > > mode) > > #define G

Re: [PATCH] setup: suppress implicit "." work-tree for bare repos

2013-03-08 Thread Jeff King
On Fri, Mar 08, 2013 at 08:44:20AM +0100, Johannes Sixt wrote: > Am 3/8/2013 8:15, schrieb Jeff King: > > --- a/cache.h > > +++ b/cache.h > > @@ -344,6 +344,7 @@ static inline enum object_type object_type(unsigned int > > mode) > > #define GIT_DIR_ENVIRONMENT "GIT_DIR" > > #define GIT_NAMESPACE

Re: [PATCH] setup: suppress implicit "." work-tree for bare repos

2013-03-07 Thread Junio C Hamano
Jeff King writes: > diff --git a/cache.h b/cache.h > index e493563..070169a 100644 > --- a/cache.h > +++ b/cache.h > @@ -344,6 +344,7 @@ static inline enum object_type object_type(unsigned int > mode) > #define GIT_DIR_ENVIRONMENT "GIT_DIR" > #define GIT_NAMESPACE_ENVIRONMENT "GIT_NAMESPACE" >

Re: [PATCH] setup: suppress implicit "." work-tree for bare repos

2013-03-07 Thread Johannes Sixt
Am 3/8/2013 8:15, schrieb Jeff King: > --- a/cache.h > +++ b/cache.h > @@ -344,6 +344,7 @@ static inline enum object_type object_type(unsigned int > mode) > #define GIT_DIR_ENVIRONMENT "GIT_DIR" > #define GIT_NAMESPACE_ENVIRONMENT "GIT_NAMESPACE" > #define GIT_WORK_TREE_ENVIRONMENT "GIT_WORK_TR