Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-commit: "read-tree -m HEAD" is not the right way to read-tree quickly
[gitweb.git]
/
merge-recursive.c
diff --git
a/merge-recursive.c
b/merge-recursive.c
index 58989424d77467da018e7daf5761f1f85040d2f6..397a7ad85b4968b9376438f12d0c3c70b7aed880 100644
(file)
--- a/
merge-recursive.c
+++ b/
merge-recursive.c
@@
-589,7
+589,7
@@
static void update_file_flags(const unsigned char *sha,
memcpy(lnk, buf, size);
lnk[size] = '\0';
mkdir_p(path, 0777);
- unlink(
lnk
);
+ unlink(
path
);
symlink(lnk, path);
} else
die("do not know what to do with %06o %s '%s'",