All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about the revision walking API
@ 2015-01-06  2:02 Mike Hommey
  2015-01-06 10:24 ` Junio C Hamano
  2015-01-06 13:37 ` Christian Couder
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Hommey @ 2015-01-06  2:02 UTC (permalink / raw)
  To: git

Hi,

I would like to know if the revision walking API works as one would
expect with a calling sequence like the following:

- init_revisions
- add_pending_object/setup_revisions
- prepare_revision_walk
- get_revision (repeated)
- reset_revision_walk (I guess)
- add_pending_object
- prepare_revision_walk
- get_revision (repeated)

That is, do a first revision walk based on a given rev_info, then reuse that
rev_info with additional commit objects (in my case, I want to add more
UNINTERESTING commits) and redo a revision walk based on the modified
rev_info (so, avoid reinitializing a rev_info and filling it from
scratch again with the additional UNINTERESTING commits).

I guess I could try and see if that works, but I'd rather have an
informed answer than to derive my own from the fact my testcase would
happen to work by chance.

Cheers,

Mike

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

end of thread, other threads:[~2015-01-06 18:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06  2:02 Question about the revision walking API Mike Hommey
2015-01-06 10:24 ` Junio C Hamano
2015-01-06 10:51   ` Mike Hommey
2015-01-06 13:37 ` Christian Couder
2015-01-06 18:30   ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.