projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cvsimport: ignore CVSPS_NO_BRANCH and impossible branches
[git.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index
f91b771
..
713ca46
100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-104,6
+104,11
@@
int create_symref(const char *git_HEAD, const char *refs_heads_master)
error("Unable to create %s", git_HEAD);
return -3;
}
+ if (adjust_shared_perm(git_HEAD)) {
+ unlink(lockpath);
+ error("Unable to fix permissions on %s", lockpath);
+ return -4;
+ }
return 0;
}