Thread (4 messages) 4 messages, 3 authors, 2016-06-15

Re: [PATCH 3/3] Make clear_commit_marks() clean harder

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:32


On Mon, 3 Jul 2006, Johannes Schindelin wrote:
Traversing is actually wrong. Clearing the marks does not mean to clear 
them on commits we did not even mark!
If we didn't mark them, then clearing them would be a no-op, so nobody 
really cares.
But clearing on commits we _have_ -- but not parsed -- is important, 
obviously.
Right. The point is, some logic can choose to mark commits UNINTERESTING 
without even parsing that commit, and it would be a good thing. You only 
need to parse the commit once you decide that you need its parents (or 
it's tree, of course), but you may be able to mark it uninteresting before 
that.

This is why it is _wrong_ to care about the "parsed" bit when clearing the 
flags.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help