author | Junio C Hamano <junkio@cox.net> | |
Sat, 4 Mar 2006 05:34:14 +0000 (21:34 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 4 Mar 2006 05:36:38 +0000 (21:36 -0800) | ||
commit | 473d404b53488a17458beea81913c1bc5df47a8a | |
tree | 0324bfaef8a82f91e83170898e1325e1227937c9 | tree | snapshot |
parent | 1142038098810a69e57d88554559e4e6116df177 | commit | diff |
tar-tree: file/dirmode fix.
This fixes two bugs introduced when we switched to generic tree
traversal code.
(1) directory mode recorded silently became 0755, not 0777
(2) if passed a tree object (not a commit), it emitted an
alarming error message (but proceeded anyway).
Signed-off-by: Junio C Hamano <junkio@cox.net>
This fixes two bugs introduced when we switched to generic tree
traversal code.
(1) directory mode recorded silently became 0755, not 0777
(2) if passed a tree object (not a commit), it emitted an
alarming error message (but proceeded anyway).
Signed-off-by: Junio C Hamano <junkio@cox.net>
tar-tree.c | diff | blob | history |