Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-08 02:11:11 +0300
committerJunio C Hamano <junkio@cox.net>2006-01-08 02:11:11 +0300
commit3ac0ebbba4d2d47ca2f4a674afead830f76ca256 (patch)
tree8326dabcd2f84088559742a035aca7331272cd64 /tar-tree.c
parent8f1d2e6f49ee51ac062ab38337a6a70dd1998def (diff)
tar-tree: finish honoring extractor's umask in git-tar-tree.
Earlier commit 38ec15a973a1f075f0d94d130b0ef279562921cd forgot to apply the same principle of not forcing go-w to the base directory when specified. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tar-tree.c')
-rw-r--r--tar-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar-tree.c b/tar-tree.c
index 96bd1438d9..f749d4b869 100644
--- a/tar-tree.c
+++ b/tar-tree.c
@@ -433,7 +433,7 @@ int main(int argc, char **argv)
archive_time = time(NULL);
if (basedir)
write_header((unsigned char *)"0", TYPEFLAG_DIR, NULL, NULL,
- basedir, 040755, NULL, 0);
+ basedir, 040777, NULL, 0);
traverse_tree(buffer, size, NULL);
free(buffer);
write_trailer();