diff-lib.c: fix misleading comments on oneway_diff()
authorJunio C Hamano <gitster@pobox.com>
Fri, 18 Sep 2009 05:12:17 +0000 (22:12 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 17:06:47 +0000 (10:06 -0700)
commit69cc523db818ed01a85ec788b80126ef8a39f7ab
treeabe4454b2072c0f282d1137c796e954c5fde737f
parent1be224ba6e99f0ab34c998d7fa8023b76a15c8b6
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>
diff-lib.c