Re: [PATCH] Add core.symlinks to mark filesystems that do not support symbolic links.

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

 



On Friday 02 March 2007 22:35, Johannes Schindelin wrote:
> On Fri, 2 Mar 2007, Johannes Sixt wrote:
> > diff --git a/cache.h b/cache.h
> > index 04f8e63..6f932fe 100644
> > --- a/cache.h
> > +++ b/cache.h
> > @@ -108,7 +108,10 @@ static inline unsigned int create_ce_mode(unsigned
> > int mode) }
> >  static inline unsigned int ce_mode_from_stat(struct cache_entry *ce,
> > unsigned int mode) {
> > -	extern int trust_executable_bit;
> > +	extern int trust_executable_bit, has_symlinks;
>
> Would it not be better to move the global variables before this function?

I'd move the whole function out-of-line, I just wouldn't know whereto...

-- Hannes

-
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]