Re: symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, 7 May 2006, Yakov Lerner wrote:
> 
> I have a project that makes heavy use of symlinks in the source tree.
> I added it to git, then cloned the repository, and all symlinks were
> converted to plain files. What am I missing to preserve symlinks ?

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

-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]