You're not missing anything, it sounds like a bug. What did you use to
clone, and what version? It definitely doesn't happen for me:
mkdir symlink
cd symlink/
git-init-db
ln -s unknown new-link
ls -l
git add new-link
git commit
cd
git clone symlink symlink2
cd symlink2/
ls -l
shows that the symlink was preserved.
But maybe there's a bug in some older version, or in some other clone
protocol...
Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html