From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>,
Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: valid git directives allowed in .scc files?
Date: Wed, 4 Mar 2015 08:26:17 -0500 [thread overview]
Message-ID: <54F707F9.4050601@windriver.com> (raw)
In-Reply-To: <alpine.LFD.2.11.1503040419480.30417@Device-040570>
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
>
next prev parent reply other threads:[~2015-03-04 13:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 9:23 valid git directives allowed in .scc files? Robert P. J. Day
2015-03-04 13:26 ` Bruce Ashfield [this message]
2015-03-06 14:48 ` Rifenbark, Scott M
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F707F9.4050601@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=rpjday@crashcourse.ca \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.