• Show log

    Commit

  • Hash : 7c1ee212
    Author : Carlos Martín Nieto
    Date : 2014-03-07T15:17:08

    commit: simplify and correct refcounting in nth_gen_ancestor
    
    We can make use of git_object_dup to use refcounting instead of pointer
    comparison to make sure we don't free the caller's object.
    
    This also lets us simplify the case for '~0' which is now just an
    assignment instead of looking up the object we have at hand.