[Buildbot-commits] [SPAM] Re: [Buildbot] #667: Git: Initial clone should use "--depth 1" option

Buildbot buildbot-devel at lists.sourceforge.net
Thu Dec 31 01:43:56 UTC 2009


#667: Git: Initial clone should use "--depth 1" option
------------------------+---------------------------------------------------
Reporter:  tfogal       |        Owner:           
    Type:  enhancement  |       Status:  new      
Priority:  minor        |    Milestone:  undecided
 Version:  0.7.11       |   Resolution:           
Keywords:  git          |  
------------------------+---------------------------------------------------

Comment(by tfogal):

 The attached patch is the start of an implementation.  Unfortunately it
 suffers from an issue: the initial clone implicitly does a git checkout,
 and then git reset --hard FETCH_HEAD that runs afterwards ends up doing
 another checkout.  This might be avoidable if we switch to "git clone ...
 ; git checkout -f branch; git clean ..." instead of the fetch business
 that is going on now.

 Then again, it might just be an artifact of my test repository.  "git
 clone" on this repo does not give the branch I specify in master.cfg, so
 it could be this works fine && it's only my configuration being
 suboptimal.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/667#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list