author | Linus Torvalds <torvalds@linux-foundation.org> | |
Thu, 6 Mar 2008 20:26:14 +0000 (12:26 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 9 Mar 2008 08:43:48 +0000 (00:43 -0800) | ||
commit | bc052d7f435f8f729127cc4790484865c1a974b9 | |
tree | 5b685a66e43a9d1ae9743c2b939b09b1eb9805af | tree | snapshot |
parent | d1f128b0509dce8b492c233b36131f096fd71274 | commit | diff |
Make 'unpack_trees()' take the index to work on as an argument
This is just a very mechanical conversion, and makes everybody set it to
'&the_index' before calling, but at least it makes it more explicit
where we work with the index.
The next stage would be to split that index usage up into a 'source' and
a 'destination' index, so that we can unpack into a different index than
we started out from.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This is just a very mechanical conversion, and makes everybody set it to
'&the_index' before calling, but at least it makes it more explicit
where we work with the index.
The next stage would be to split that index usage up into a 'source' and
a 'destination' index, so that we can unpack into a different index than
we started out from.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>