]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: reduce verbosity of -i and -u with --verbose
authorPádraig Brady <P@draigBrady.com>
Tue, 25 Apr 2023 10:07:36 +0000 (11:07 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 25 Apr 2023 10:17:54 +0000 (11:17 +0100)
commitcc078f747f3db00e70b2ae2ad2ab34e8d54316d3
tree17b8469d7af762a1779975bcd597180bf5384c41
parent7ea7c020e844687eec15fc4749760bb29dee541a
copy: reduce verbosity of -i and -u with --verbose

Since skipping of files is central to the operation of -i and -u,
and with -u one may be updating few files out of many,
reinstate the verbosity of this functionality as it was before 9.3.

* src/copy.c (copy_internal): Only output "skipped" message
with --debug.  Also adjust so message never changes with --debug.
* tests/cp/cp-i.sh: Adjust accordingly.
* tests/mv/mv-n.sh: Likewise.
* tests/cp/debug.sh: Add explicit test case for message.
* NEWS: Mention the change in behavior.
NEWS
src/copy.c
tests/cp/cp-i.sh
tests/cp/debug.sh
tests/mv/mv-n.sh