commit | 4e81304afc529c0caca7c012a155be4e342b52d4 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@g5.osdl.org> | Wed Jul 27 15:29:38 2005 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Wed Jul 27 18:57:13 2005 -0700 |
tree | e42d5c6b393dcd7e695e56c3bf15bb3314445553 | |
parent | de2eb7f694da6396828e52588c9807a948a039a0 [diff] |
git-convert-cache: fix up mode conversion 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>