git-convert-cache: fix up mode conversion
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 22:29:38 +0000 (15:29 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 28 Jul 2005 01:57:13 +0000 (18:57 -0700)
The old mode conversion was not only complex, it also refused to change
the length of a mode, which made it fragile.  By moving the mode
conversion around a bit, we can not only simplify it, it also ends up
being more powerful.

Also fix a memory leak that made it impossible to convert huge archives
without tons and tons of memory.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found