Re: [PATCH] Introduce core.keepHardLinks
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Oct 12, 2008, 18:38 UTC
- Message-ID
- <20081012183855.GA5255@spearce.org>
- In-Reply-To
- <alpine.DEB.1.00.0810111344241.22125@pacific.mpi-cbg.de.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > When a tracked file was hard linked, we used to break the hard link > whenever Git writes to that file. Make that optional.
Why would anyone want to do this?
I cannot fathom why a user wants this much rope to hang themselves with...
Show 15 quoted lines
> diff --git a/Documentation/config.txt b/Documentation/config.txt > index 173386e..7bfe431 100644 > --- a/Documentation/config.txt > +++ b/Documentation/config.txt > @@ -207,6 +207,10 @@ core.symlinks:: > file. Useful on filesystems like FAT that do not support > symbolic links. True by default. > > +core.keepHardLinks:: > + If true, do not break hard links by deleting and recreating the > + files. Off by default. > + > core.gitProxy:: > A "proxy command" to execute (as 'command host port') instead > of establishing direct connection to the remote server when
-- Shawn.