Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge of http://members.cox.net/junkio/git-jc.git
[gitweb.git]
/
checkout-cache.c
diff --git
a/checkout-cache.c
b/checkout-cache.c
index 367b9c7991f7e78954805e526d785b715446f1a9..244ebd122601883e15e8aefea33c7daf8249d862 100644
(file)
--- a/
checkout-cache.c
+++ b/
checkout-cache.c
@@
-96,6
+96,7
@@
static int write_entry(struct cache_entry *ce, const char *path)
case S_IFLNK:
memcpy(target, new, size);
target[size] = '\0';
+ create_directories(path);
if (symlink(target, path)) {
free(new);
return error("checkout-cache: unable to create symlink %s (%s)",