bug#10686: mv: moving hardlink of a softlink to the softlink does nothing

2012-02-11 Thread Jim Meyering
Jim Meyering wrote: > The above wasn't quite right in that it failed to honor mv's --backup > option. mv --backup s f would not have created the required backup file. > I've adjusted it to fix that, and added tests to cover both cases. > This is still not quite ready (i.e., the FIXME comment, wher

bug#10686: mv: moving hardlink of a softlink to the softlink does nothing

2012-02-11 Thread Eric Blake
On 02/11/2012 04:23 AM, Jim Meyering wrote: > +++ b/NEWS > @@ -11,6 +11,11 @@ GNU coreutils NEWS-*- > outline -*- >referent, there is no risk of data loss, since the symlink will >typically still point to one of the hard links. > > + "mv A B" could suc