create subdirs for symlinks
PATCH 1/1 create subdirs for symlinks
We may need to create subdirectories, before we can create a symlink.
Signed-off-by Kay Sievers <[email protected]>
---
checkout-cache.c +1 -0
@@ -96,6 +96,7 @@ static int write_entry(struct cache_entrcase 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)",