git/list[1] front-page[2] threads[3] people[4] search[5] about
 

GIT & Symbolic Links

From
SNSassy Natan <sassyn@gmail.com>
Date
Mar 12, 2012, 16:44 UTC
Message-ID
<CACHQFzEJATc2hiSdAgoGg3vssQ-CShF+89TOkzVwaf_ujYy+3w@mail.gmail.com>
In-Reply-To
<CACHQFzEqe-SwpCgjgGRDdzcUQW_+8-TdLsRV6KbKorvq7dJi+g@mail.gmail.com>
Hi Group,

I'm consider myself as a new baby when it come to GiT. But I have just migrate my users from SVN to GIT and I have some questions in mind I want to share with you.

Is it possible to do the following:

Say I have a really big GiT repo (something around 1GB) name DEV. In the SVN days, each of my developers (100 Users) had to clone a local copy of the DEV Repo in his home folder, so total of 100GB was used in my shared storage (NFS Drive) where something around 85% was actually just a copy of the same files.

When I used the De-Duplication function (Under ZFS File System) I could easy see how the volume is shrinking, but I more inserting in different kind of solution, now when it comes to GIT.

So for the example let's consider that user A clone the DEV GIT Repo into his/her home folder (/home/A/DEV) User B want to clone the same Repo. But now, I don't want user B to clone the all tree and files, but instead to have a symbolic links to the /home/A/DEV folder. All files and directories in the /home/B/DEV will be a links to the /home/A/DEV.

Once user B actually want to change a file, ?somehow? the git brake the link, and have a local copy of that specific file. When the file is push back the link become back.

While trying to get some feedback in the IRC roon, some users point me to git-annex and unionfs. Both project seems to be cool, git-annex really have nice options, but I don't see how this going to help me.

Regarding unionfs - well I'm still not sure.
Maybe someone can help here...
Thanks
Next: Kevin
Message 1 of 4 in “GIT & Symbolic Links”
  1. Sassy NatanMar 12, 2012
  2. KevinMar 13, 2012
  3. Enrico WeigeltMar 17, 2012
  4. Andrew SayersMar 17, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.