[git] Switch branches previous to stash and pull
commit7e53c01f67971014ee51fdeac772be086fc9771c
authorDirk Wallenstein <halsmit@t-online.de>
Mon, 17 May 2010 08:51:11 +0000 (17 10:51 +0200)
committerFrédéric Péters <fpeters@0d.be>
Tue, 8 Jun 2010 08:43:46 +0000 (8 10:43 +0200)
tree98a389c570b2b9afe8598c33ee29f399c3e206c4
parent3c31272066f5ff1d1c92fd244e14b71d68c7ee01
[git] Switch branches previous to stash and pull

Now the refusal of the previously extracted function to switch dirty
branches will take effect. It is very unlikely that a user wants to
apply uncommited changes onto another branch by means of a jhbuild
update operation. Such an operation certainly deserves manual
inspection.

This will now update the new branch instead of the previous one.

The problem with not finding recently added remote branches is solved in
a previous commit.
jhbuild/versioncontrol/git.py