git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c90be46
)
Allow symlink blobs in trees during fast-import.
author
Shawn O. Pearce
<redacted>
Mon, 21 Aug 2006 07:29:13 +0000
(
03:29
-0400)
committer
Shawn O. Pearce
<redacted>
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 <redacted>
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
@@
-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 */
git clone https://git.99rst.org/PROJECT