Re: [PATCH] Always copy template files (no symlinking)

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

 



[accidentally sent as PM]

On Apr 22, 2008, at 19:05 , Junio C Hamano wrote:

Michael Weber <michaelw@xxxxxxxxx> writes:

Previously, git would readlink(2) template files that are symlinks,
and then symlink(2) the result into .git/.  This does not work for
relative symlinks (as produced by, e.g., encap), and is probably not a
good idea either: it is an irrelevant detail that a file in the
template directory is symlinked.

This was very deliberately done to allow a relative symlink that points at e.g. ../../hooks/pre-commit with .git/hooks/pre-commit. IOW, "use what
the project suggests".

I see. How can I get the same functionality on a platform which does not support symlinks?


Cheers,
Michael

--
To unsubscribe from this list: 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]

  Powered by Linux