aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2021-08-29 20:57:33 +0100
committerPádraig Brady <P@draigBrady.com>2021-08-31 11:33:26 +0100
commite1c21f39cca35df572dd128028f9b9f4e34835f8 (patch)
treec5960b0af347aade070df929f9de6c2fe624a731 /scripts/git-hooks/commit-msg
parenttests: port better to NetBSD (diff)
downloadcoreutils-e1c21f39cca35df572dd128028f9b9f4e34835f8.tar.gz
coreutils-e1c21f39cca35df572dd128028f9b9f4e34835f8.zip
sum: always output a file name if one passed
Adjust to output the file name if any name parameter is passed. This is consistent with sum -s, cksum, and sum implementations on other platforms. This should not cause significant compat issues, as multiple fields are already output, and so already need to be parsed. * src/sum.c (bsd_sum_file): Output the file name if any name parameter is passed. * tests/misc/sum.pl: Adjust accordingly. * doc/coreutils.texi (sum invocation): Likewise. * NEWS: Mention the change in behavior.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions