diff options
| author | Pádraig Brady <P@draigBrady.com> | 2021-08-29 20:57:33 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2021-08-31 11:33:26 +0100 |
| commit | e1c21f39cca35df572dd128028f9b9f4e34835f8 (patch) | |
| tree | c5960b0af347aade070df929f9de6c2fe624a731 /scripts/git-hooks/commit-msg | |
| parent | tests: port better to NetBSD (diff) | |
| download | coreutils-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
