aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-07-29 09:14:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2025-08-03 19:48:05 -0700
commit3918655d4b4bc0e52349aebd7c9816b401ac0d9d (patch)
tree3d6cc79d4a3e7dda9accca899c5694b7876fd42b /scripts/git-hooks/commit-msg
parenttail: refactor to skip stat call on failure (diff)
downloadcoreutils-3918655d4b4bc0e52349aebd7c9816b401ac0d9d.tar.gz
coreutils-3918655d4b4bc0e52349aebd7c9816b401ac0d9d.zip
tail: refactor SEEK_END and lines
* src/tail.c (tail_lines): Refactor to simplify the confusing code for using SEEK_END when counting lines. The old code had a ‘end_pos != 0’ expression that was always true.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions