#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
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to