Git development
 help / color / mirror / Atom feed
* Should reset_revision_walk clear more flags?
@ 2016-12-04 23:09 Mike Hommey
  2016-12-04 23:24 ` Mike Hommey
  2016-12-05  5:40 ` Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Hommey @ 2016-12-04 23:09 UTC (permalink / raw)
  To: git

Hi,

While trying to use the revision walking API twice in a row, I noticed
that the second time for the same setup would not yield the same result.
In my case, it turns out I was requesting boundaries, and
reset_revision_walk() is not resetting CHILD_SHOWN and BOUNDARY, both
required to be reset for the second revision walk to work.

So the question is, are consumers supposed to reset those flags on their
own, or should reset_revision_walk clear them?

Mike

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-05  7:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-04 23:09 Should reset_revision_walk clear more flags? Mike Hommey
2016-12-04 23:24 ` Mike Hommey
2016-12-05  5:40 ` Jeff King
2016-12-05  7:26   ` Junio C Hamano
2016-12-05  7:36     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox