Heiko Voigt <hvoigt@xxxxxxxxxx> writes: > Junio since you are one person listed in the api docs could you maybe > quickly explain to me what this flag is used for? It is used in order to avoid walking the object we have walked already. Which in turn means that once you walk chain of objects, unless you remember the ones you walked and clear the marks after you are done, you cannot walk the object chain for unrelated purposes. See how functions like get_merge_bases_many() walk portions of graph for their own purpose and then avoid disrupting others by calling clear_commit_marks(). The use of TMP_MARK (and its clearing after the function is done with the marked objects) in remove_duplicate_parents() serve the same purpose. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html