[Buildbot-commits] [Buildbot] #2519: Git source step should update refs
Buildbot trac
trac at buildbot.net
Fri Jun 28 14:43:10 UTC 2013
#2519: Git source step should update refs
----------------------+-----------------------
Reporter: exarkun | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.7p1 | Keywords: git
----------------------+-----------------------
Largely because of the way the fetch step is done:
git fetch -t repo branch
Branch refs in the clone are roughly meaningless.
Better would be to simply:
git fetch -t repo
Or, I dunno, this probably works:
git fetch -t
This way, refs like `origin/master` actually point at the right place in
the clone. As a bonus, this would make commands like:
git reset --hard branch --
work, instead of needing to figure out a revision hash. This would seem
to simplify the rest of the Git source step's job.
--
Ticket URL: <http://trac.buildbot.net/ticket/2519>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list