commit | da8ba5e7da01be597aa9417c563dbd516ea5f204 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Thu Sep 17 22:12:17 2009 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Oct 11 16:40:43 2009 -0700 |
tree | 8bae7916d0633470b0a6d8dcb0f9fdf49ae8b420 | |
parent | 79b4fde573eb5e86a8109d100ad182be1eb5fc54 [diff] |
diff-lib.c: fix misleading comments on oneway_diff() 20a16eb (unpack_trees(): fix diff-index regression., 2008-03-10) adjusted diff-index to the new world order since 34110cd (Make 'unpack_trees()' have a separate source and destination index, 2008-03-06). Callbacks are expected to return anything non-negative as "success", and instead of reporting how many index entries they have processed, they are expected to advance o->pos themselves. The code did so, but a stale comment was left behind. Signed-off-by: Junio C Hamano <gitster@pobox.com>