[git] Extract the branch switch into a function
commit73479ab27bf47425fb8c1d386e3d243b37b91df2
authorDirk Wallenstein <halsmit@t-online.de>
Mon, 17 May 2010 08:45:12 +0000 (17 10:45 +0200)
committerFrédéric Péters <fpeters@0d.be>
Tue, 8 Jun 2010 08:43:18 +0000 (8 10:43 +0200)
treefefc1b5fe3e523d6ef7e6ad68de2bfb176ff5729
parentbebfafbe6290e99b1fdcfd4a38e75b4e4526c905
[git] Extract the branch switch into a function

The new function will not switch a branch if there are uncommited
changes. This will have no impact, yet, as a dirty state is always
stashed prior to a branch switch.
jhbuild/versioncontrol/git.py