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

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.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 14 in “Introduce core.keepHardLinks”
  1. Introduce core.keepHardLinksJohannes Schindelin, Oct 11, 2008
  2. Shawn O. PearceOct 12, 2008
  3. Johannes SchindelinOct 13, 2008
  4. Junio C HamanoOct 13, 2008
  5. Johannes SchindelinOct 13, 2008
  6. Stephan BeyerOct 13, 2008
  7. Shawn O. PearceOct 13, 2008
  8. Johannes SchindelinOct 13, 2008
  9. Junio C HamanoOct 13, 2008
  10. Johannes SchindelinOct 13, 2008
  11. Junio C HamanoOct 13, 2008
  12. Johannes SchindelinOct 15, 2008
  13. Junio C HamanoOct 13, 2008
  14. Johannes SchindelinOct 13, 2008

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.