Code

pack-objects: quickfix for permission modes.
authorJunio C Hamano <junkio@cox.net>
Sun, 22 Apr 2007 18:49:35 +0000 (11:49 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 22 Apr 2007 18:49:35 +0000 (11:49 -0700)
commitaef5aedd8536fddbbd2e19245dfab201d05afb25
tree8b2af3a318d4f8181ba44e2fd81edb9c8c6b9074
parent4629795816bf3f58a02872ec389a92de7efd38c4
pack-objects: quickfix for permission modes.

mkstemp() often creates the file in 0600 which means the
resulting packfile is not readable by anybody other than the
repository owner.  Force 0644 for now, even though this is not
strictly correct.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c