"Shawn O. Pearce" [off-list ref] writes:
Actually, I'd almost say put it into .git/config, e.g.:
mkdir .git
cat >.git/config <<EOF
[core]
repositoryversion = 0
filemode = true
link = /path/to/source
EOF
as then the index and HEAD file can both be stored in .git, just
like with the non-gitlink case.
This is not usable at least for me as it does not allow sharing
the .git/config file across checkouts.