@matheusbsbs / matheus-bagliano / commits / ace4a9d1ae
Fork 0

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 <spearce@spearce.org>

Shawn O. Pearce committed Aug 21, 2006 at 03:29 UTC ace4a9d1ae5efd056c5e57cc76aacee3057a73f7
1 file changed +1
fast-import.c
+1
@@ -1017,6 +1017,7 @@ static void file_change_m(struct branch *b)
1017 switch (mode) {
1018 case S_IFREG | 0644:
1019 case S_IFREG | 0755:
1020 + case S_IFLNK:
1021 case 0644:
1022 case 0755:
1023 /* ok */