[yocto] valid git directives allowed in .scc files?
Bruce Ashfield
bruce.ashfield at windriver.com
Wed Mar 4 05:26:17 PST 2015
On 2015-03-04 4:23 AM, Robert P. J. Day wrote:
>
> still perusing kernel dev manual, and section 3.5 talks about
> git-related directives such as
>
> branch newbranch
> git merge myfeature
>
> but over in the linux-yocto_3.19 git repo in the meta branch, there's
> an example, features/pvr/pvr.scc, whose contents are:
>
> git branch pvr master
>
> whose format is technically not explained in that section in the
> kernel dev manual. are there more shortcuts going on here?
In this case, they aren't shortcuts, just variants. When a wrapped
command (branch vs 'git branch') is used, there is extra error
checking and sanity that happens.
Both are valid, it all depends on what the developer is trying to
do .. and whether they know how to not hurt themselves (i.e. they
do want to inhibit the checks to use an extra branch flag, etc).
Cheers,
Bruce
>
> rday
>
More information about the yocto
mailing list