Skip to contentSkip to conversation

valid git directives allowed in .scc files?

DISCUSSION Robert P. J. Day 3 participants 3 messages Mar 4, 2015 – Mar 6, 2015

lore
Share & tools
lore
#0 lore raw

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
========================================================================
#1 lore raw
Quoted 7 lines · Robert P. J. Day

still perusing kernel dev manual, and section 3.5 talks about
git-related directives such as

branch 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

#2 lore raw
In reply to Robert P. J. Day

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

--

===========================================================
=============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

===========================================================
=============
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto