aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-07-29 13:22:41 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2025-08-03 19:48:05 -0700
commitd584545299fb5d7581d77e5627c6735e743d6e77 (patch)
tree2e08e87b26a8660dd6cac476cf11ffde54db4435 /scripts/git-hooks
parenttail: optimize tail -n +2**63 (diff)
downloadcoreutils-d584545299fb5d7581d77e5627c6735e743d6e77.tar.gz
coreutils-d584545299fb5d7581d77e5627c6735e743d6e77.zip
tail: prettyname cleanup
* src/tail.c: Use ‘prettyname’ consistently as the identifier for a prettified file name, as opposed to ‘pretty_filename’, ‘pretty_name’, and ‘name’. This makes the code easier to follow. (struct File_spec): New member prettyname. (pretty_name): Remove. All uses of pretty_name (f) replaced by f->prettyname. (close_fd, fremote): Accept struct File_spec, not name. All callers changed. (main): Initialize the new prettyname member. This is simpler/smaller than calling pretty_name everywhere.
Diffstat (limited to 'scripts/git-hooks')
0 files changed, 0 insertions, 0 deletions