]> xenbits.xensource.com Git - people/gdunlap/xsatool.git/commit
recipe: Refactor temporary branch creation
authorGeorge Dunlap <george.dunlap@citrix.com>
Wed, 7 Nov 2018 17:00:30 +0000 (17:00 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 7 Nov 2018 17:00:30 +0000 (17:00 +0000)
commitb5364be558f646960b222a47e9d6ae61ebef4713
treec94931956c13e0212a40e04cc11280d575d30731
parent44ca0da9725701e1d29ebbfd9dfc9407c7edffec
recipe: Refactor temporary branch creation

The two paths are identical except for the branch name and the error
message; just use a variable for the branch name and call the branch
creation code once.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
recipe.go