mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-22 07:05:07 +02:00
Require --retry to continue to track files upon rename. We already unfollowed a file if it was renamed to another file system (unlinked), so this makes the behavior consistent if renaming to a file in the same file system. I.e. --follow=name without --retry, means unfollow if the name is unlinked or moved, so this change ensures that behavior for all rename cases. Related commits: v8.0-121-g3b997a9bc, v8.23-161-gd313a0b24 * src/tail.c (tail_forever_notify): Remove watch for a renamed file if --retry is not specified. * tests/tail/F-vs-rename.sh: Related test cleanup. * tests/tail/follow-name.sh: Add a test case. * NEWS: Mention the bug fix. Fixes https://bugs.gnu.org/74653