valid git directives allowed in .scc files?
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?
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 7 lines · Robert P. J. Day
still perusing kernel dev manual, and section 3.5 talks about
git-related directives such asbranch newbranch
git merge myfeature
Quoted 7 lines
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
Quoted 3 lines
rday
I am looking at the manpage for 'git branch' and am not seeing what this particular form of git command would do. Someone else is going to have to chime in on this.
Quoted 40 lines
-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Robert P. J. Day
Sent: Wednesday, March 04, 2015 1:23 AM
To: Yocto discussion list
Subject: [yocto] valid git directives allowed in .scc files?still perusing kernel dev manual, and section 3.5 talks about git-related
directives such asbranch newbranch
git merge myfeaturebut 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?
rday
--
===========================================================
=============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.caTwitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday===========================================================
=============
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto