commit | 828abe57ec261eb37c1821e002a2234ea093c307 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Aug 05 10:15:52 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu Aug 07 09:52:43 2014 -0700 |
tree | f79aa89199fdfd5a01750646ed365692ee31409c | |
parent | 7878a5f3d484bfcc15c7d78062bbda3c0499933a [diff] |
Reset RevWalk before calling refControl.canCreate() The internals of IncludedInResolver reuse the existing RevWalk but carry the UNINTERESTING flag. Within CreateBranch in particular, this flag may already be set on some commits. Document this restriction on canCreate. Change-Id: I5ec75a2bdd079edb5aa21bca3bd3dc33e5c3a0f9