projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Let umask do its work upon filesystem object creation.
[git.git]
/
receive-pack.c
diff --git
a/receive-pack.c
b/receive-pack.c
index
dfa7cd1
..
1768c87
100644
(file)
--- a/
receive-pack.c
+++ b/
receive-pack.c
@@
-70,7
+70,7
@@
static void update(const char *name, unsigned char *old_sha1, unsigned char *new
if (!has_sha1_file(new_sha1))
die("unpack should have generated %s, but I can't find it!", new_hex);
if (!has_sha1_file(new_sha1))
die("unpack should have generated %s, but I can't find it!", new_hex);
- newfd = open(lock_name, O_CREAT | O_EXCL | O_WRONLY, 06
44
);
+ newfd = open(lock_name, O_CREAT | O_EXCL | O_WRONLY, 06
66
);
if (newfd < 0)
die("unable to create %s (%s)", lock_name, strerror(errno));
if (newfd < 0)
die("unable to create %s (%s)", lock_name, strerror(errno));