Re: [PATCH] Introduce core.keepHardLinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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...

 
> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux