• Show log

    Commit

  • Hash : 851ad650
    Author : Russell Belfer
    Date : 2013-01-09T16:00:16

    Add payload "_r" versions of bsearch and tsort
    
    git__bsearch and git__tsort did not pass a payload through to the
    comparison function.  This makes it impossible to implement sorted
    lists where the sort order depends on external data (e.g. building
    a secondary sort order for the entries in a tree).  This commit
    adds git__bsearch_r and git__tsort_r versions that pass a third
    parameter to the cmp function of a user payload.