Re: [PATCH v2 18/31] rebase: extract merge code to new source file

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

 



On Wed, Feb 23, 2011 at 10:27:23PM -0500, Martin von Zweigbergk wrote:

> > > +++ b/git-rebase--merge.sh
> > 
> > This should be mode 100755. (Ditto for git-rebase--am.sh in 19/31)
> 
> I was just about to fix now and I noticed that quite a few other
> script files are mode 100644. Should all be changed to mode 100755 or
> is there some kind of rule as to which mode they should be? Both
> git-sh-setup.sh and git-parse-remote.sh are also mode 100644 and I
> (think I) know that both are always sourced. If the rule is that
> sourced scripts should be mode 100644 (but I'm just guessing here),
> then I should actually have changed the mode of
> git-rebase--interactive.sh to that mode instead. Please advice.

Yes, sourced scripts should not have an executable bit. See 46bac90 for
rationale.

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