summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c90be46)
raw | patch | inline | side by side (parent: c90be46)
author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 21 Aug 2006 07:29:13 +0000 (03:29 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 14 Jan 2007 07:15:04 +0000 (02:15 -0500) |
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>
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>
fast-import.c | patch | blob | history |
diff --git a/fast-import.c b/fast-import.c
index d5651693ba5e48c980c4eb3854480234f2e536ce..7d1ee1dad977f6ce3aef7d6879fffa19f6f1c410 100644 (file)
--- a/fast-import.c
+++ b/fast-import.c
switch (mode) {
case S_IFREG | 0644:
case S_IFREG | 0755:
+ case S_IFLNK:
case 0644:
case 0755:
/* ok */