author | Junio C Hamano <junkio@cox.net> | |
Sat, 1 Oct 2005 19:01:07 +0000 (12:01 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 2 Oct 2005 06:14:06 +0000 (23:14 -0700) | ||
commit | 38ec15a973a1f075f0d94d130b0ef279562921cd | |
tree | 66b5560d248a6234040a147ce017fd1013519e60 | tree | snapshot |
parent | f8d839ad992d92e1e31d7a557c198371d1fb7692 | commit | diff |
Honor extractor's umask in git-tar-tree.
The archive generated with git-tar-tree had 0755 and 0644 mode bits.
This inconvenienced the extractor with umask 002 by robbing g+w bit
unconditionally. Just write it out with loose permissions bits and
let the umask of the extractor do its job.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The archive generated with git-tar-tree had 0755 and 0644 mode bits.
This inconvenienced the extractor with umask 002 by robbing g+w bit
unconditionally. Just write it out with loose permissions bits and
let the umask of the extractor do its job.
Signed-off-by: Junio C Hamano <junkio@cox.net>
tar-tree.c | diff | blob | history |