summaryrefslogtreecommitdiff
path: root/index.c
diff options
context:
space:
mode:
authorLibravatar Peter Anvin <hpa@tazenda.sc.orionmulti.com>2005-10-03 12:04:44 -0700
committerLibravatar Peter Anvin <hpa@tazenda.sc.orionmulti.com>2005-10-03 12:04:44 -0700
commit79a9d8ea0d88a3667ad19be8e705405ab5d896f1 (patch)
tree15d04fe258e969f2a43aaff3c292286984d0147c /index.c
parentBetter handling of exec extension in the git wrapper script (diff)
parentPost 0.99.8 master branch (diff)
downloadtgif-79a9d8ea0d88a3667ad19be8e705405ab5d896f1.tar.xz
Merge with master.kernel.org:/pub/scm/git/git.git
Diffstat (limited to 'index.c')
-rw-r--r--index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.c b/index.c
index 87fc7b0387..bdde65f75c 100644
--- a/index.c
+++ b/index.c
@@ -29,7 +29,7 @@ int hold_index_file_for_update(struct cache_file *cf, const char *path)
signal(SIGINT, remove_lock_file_on_signal);
atexit(remove_lock_file);
}
- return open(cf->lockfile, O_RDWR | O_CREAT | O_EXCL, 0600);
+ return open(cf->lockfile, O_RDWR | O_CREAT | O_EXCL, 0666);
}
int commit_index_file(struct cache_file *cf)