commit | fbdcdaa594f2117e657fb82fa29223515b386276 | [log] [tgz] |
---|---|---|
author | James E. Blair <jeblair@hp.com> | Mon Jul 20 15:56:37 2015 -0700 |
committer | James E. Blair <jeblair@hp.com> | Mon Jul 27 14:59:16 2015 -0700 |
tree | 26466c8968de3ad8ecc80dcf65852c7a25e7a488 | |
parent | f035866ad86ead909d80121aa4927a6a59f2a24c [diff] |
Don't use outdated repo object in reset When resetting a repository, the merger performs an update of the origin remote to ensure that it has the latest HEAD. This was done after the reset method instantiated its own repo object. It is possible that the repository may have changed sufficiently via the update method (which uses its own repo object) that the original repo object may not function correctly. Change-Id: I78354999be7a2ad2b113c9637b436734b6be4eb9