<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 137: merge and hard links</title><link href="https://sourceforge.net/p/kdiff3/feature-requests/137/" rel="alternate"/><link href="https://sourceforge.net/p/kdiff3/feature-requests/137/feed.atom" rel="self"/><id>https://sourceforge.net/p/kdiff3/feature-requests/137/</id><updated>2013-05-04T03:59:46.387000Z</updated><subtitle>Recent changes to 137: merge and hard links</subtitle><entry><title>#137 merge and hard links</title><link href="https://sourceforge.net/p/kdiff3/feature-requests/137/?limit=25#48ef" rel="alternate"/><published>2013-05-04T03:59:46.387000Z</published><updated>2013-05-04T03:59:46.387000Z</updated><author><name>Andreas Boerner</name><uri>https://sourceforge.net/u/anboerner/</uri></author><id>https://sourceforge.net4780225315cea5949dac529db55c14111c2b5242</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was too quick; it seems that the options are already in place.&lt;/p&gt;
&lt;p&gt;when I go Settings -&amp;gt; DIRECTORY&lt;br /&gt;
(I wasn't expecting it under "directory")&lt;/p&gt;
&lt;p&gt;there is "Follow File links", needs to be checked&lt;br /&gt;
and "Backup files (.orig)", needs to be unchecked.&lt;/p&gt;
&lt;p&gt;that seems to give the behaviour I was looking for.&lt;/p&gt;
&lt;p&gt;So please close this ticket. thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>merge and hard links</title><link href="https://sourceforge.net/p/kdiff3/feature-requests/137/" rel="alternate"/><published>2013-05-04T03:39:56.274000Z</published><updated>2013-05-04T03:39:56.274000Z</updated><author><name>Andreas Boerner</name><uri>https://sourceforge.net/u/anboerner/</uri></author><id>https://sourceforge.netfb9efedc65110532222480ff061e4c97164080fc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to see an improvement along the following lines:&lt;/p&gt;
&lt;p&gt;I have a set of hard links, because the content of the files should always be the same, and when I delete a file, it shouldn't affect the other places. (in other words, hardlinks work perfectly for me).&lt;/p&gt;
&lt;p&gt;Now when I use kdiff3 and merge the file (at one of the hard links), when I save the merge result (save as), the hard link is moved to file.orig and the new file is not a hard link. In other words, the change is not propagated through the existing hardlinks, instead, a new file is created.&lt;/p&gt;
&lt;p&gt;This is different than the standard (linux) cp works; e.g. the following sequence works as I would expect:&lt;/p&gt;
&lt;p&gt;echo &lt;code&gt;date&lt;/code&gt; &amp;gt; f1.txt&lt;br /&gt;
ln f1.txt f2.txt&lt;br /&gt;
ln f1.txt f3.txt&lt;br /&gt;
ln f1.txt f4.txt&lt;/p&gt;
&lt;p&gt;echo NEW-&lt;code&gt;date&lt;/code&gt; &amp;gt; f5.txt&lt;/p&gt;
&lt;p&gt;and when I then do&lt;/p&gt;
&lt;p&gt;cp f5.txt f4.txt&lt;/p&gt;
&lt;p&gt;then F&lt;span&gt;[1-3]&lt;/span&gt;.txt get updated as well.&lt;/p&gt;
&lt;p&gt;Why is kdiff3 using something different than cp when saving a merge result on a hardlink? (I use kdiff3 within mercurial but I verified that this behaviour comes from kdiff3, not mercurial). At least I would like to see an option in the settings to get this behaviour (that it behaves like cp, and not creating a file.orig)!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>