]> code.ossystems Code Review - openembedded-core.git/commit
combo-layer: handle ambiguous git arguments
authorOlaf Mandel <o.mandel@menlosystems.com>
Mon, 17 Oct 2016 08:16:28 +0000 (08:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Oct 2016 10:27:33 +0000 (11:27 +0100)
commita84ec3ac15a59f72fcb46d97942009c8e459b5d0
treef5b85461630c1528379f008a28eac095f95aa16b
parentd08f3882a35eec8a042d2501715684444e353605
combo-layer: handle ambiguous git arguments

If a branch/src-repository has the same name as a file/directory, git
since 1.4.0(?) gives an error like the one below:
ambiguous argument 'bitbake': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Add two dashes to make the intent clear.

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/combo-layer