aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-08-01 07:58:08 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2025-08-03 19:48:06 -0700
commit15c67b79af7df75c28af1e462619722c73676184 (patch)
tree760bfdfa236bb837974de7636423f4d6c2f474f2 /scripts/git-hooks/commit-msg
parenttail: record file offset more carefully (diff)
downloadcoreutils-15c67b79af7df75c28af1e462619722c73676184.tar.gz
coreutils-15c67b79af7df75c28af1e462619722c73676184.zip
tail: prefer < 0 to == -1
* src/tail.c (valid_file_spec, recheck, writers_are_dead) (tail_forever, check_fspec, tail_forever_inotify, tail_file) (parse_options, main): Be a bit more systematic about checking for sign, rather than for exact equality or inequality, when the sign is enough. Makes the code a bit clearer now that -2 sometimes means success.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions