]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: fetch2/git: Work around git confusion between foo.git and foo repositories
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 18 Aug 2012 15:15:18 +0000 (15:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 18 Aug 2012 15:21:44 +0000 (16:21 +0100)
commita86bd422641ce083ba0cdb4efe2a4c307eb36f7e
tree8aa16fb36f964ba68ad715ed55bb0bc47f6b177a
parentc7cadd17ab2f60d0f0560e7eb377675902a7ede0
bitbake: fetch2/git: Work around git confusion between foo.git and foo repositories

If you have foo and foo.git in GITDIR, the two can end up being confused
by git with some horrible union of the two being cloned. This adds
a workaround to avoid this happening until git 1.7.9.2 onwards is
common enough for this to be removed. We use a symlink to hide
the directories we don't want git to know about.

(Bitbake rev: bbf1f6fe594c721a296ca09ee7c583d4a205c591)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/git.py