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

Re: Having Git follow symlinks

From
Peter Krefting <peter@softwolves.pp.se>
Date
Jan 30, 2014, 09:01 UTC
Message-ID
<alpine.DEB.2.00.1401300958320.30100@ds9.cixit.se>
In-Reply-To
<CALKQrgf5o-ZcaeqXLm3P7RpK2yPcFd_HnG4ewwoEGESduyDSjQ@mail.gmail.com>
Johan Herland:
> I believe a preferable way to manage dotfiles in Git, is to have a 
> script that does the necessary setup/installation from the repo 
> (that lives in some subdirectory of ~) and into ~.

Yeah, but then I have copies of the files, instead of having the files themselves under version control, meaning I need to copy them back to push changes back, or to merge them. That is undesirable :-/

I do have a setup script for the CVS repo, but it just sets the symlinks up.

The only solution I can see is to split the repo up into several parts, one for each sub-directory that I previously had symlinked. Not perfect, but I guess I can live with that.

-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Johan HerlandNext: Christian Couder
Message 3 of 9 in “Having Git follow symlinks”
  1. Peter KreftingJan 28, 2014
  2. Johan HerlandJan 28, 2014
  3. Peter KreftingJan 30, 2014
  4. Christian CouderJan 30, 2014
  5. Matthieu MoyJan 30, 2014
  6. Peter KreftingJan 31, 2014
  7. Matthew RuffaloJan 31, 2014
  8. Junio C HamanoJan 31, 2014
  9. Matthieu MoyJan 31, 2014

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.