From ace4a9d1ae5efd056c5e57cc76aacee3057a73f7 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Mon, 21 Aug 2006 03:29:13 -0400 Subject: [PATCH] Allow symlink blobs in trees during fast-import. If a frontend is smart enough to import a symlink then we should let them do so. We'll assume that they were smart enough to first generate a blob to hold the link target, as that's how symlinks get represented in GIT. Signed-off-by: Shawn O. Pearce --- fast-import.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fast-import.c b/fast-import.c index d5651693ba..7d1ee1dad9 100644 --- a/fast-import.c +++ b/fast-import.c @@ -1017,6 +1017,7 @@ static void file_change_m(struct branch *b) switch (mode) { case S_IFREG | 0644: case S_IFREG | 0755: + case S_IFLNK: case 0644: case 0755: /* ok */