mv: distinguish copy and rename operations with --verbose
commit62c6f1fc7836ad654cbf701ae2a845ce93a561ba
authorPádraig Brady <P@draigBrady.com>
Thu, 18 May 2017 01:05:27 +0000 (18 02:05 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 18 May 2017 01:08:42 +0000 (18 02:08 +0100)
tree86622a9953e72e57036e7ef464dab521dcd74d94
parent82911c51aef32702abde676241b75d4f25d94812
mv: distinguish copy and rename operations with --verbose

* src/copy.c (copy_internal): In x->move_mode distinguish
whether we're copying, creating directory, or renaming.
* tests/mv/backup-dir.sh: Adjust to new output.
* tests/mv/mv-n.sh: Likewise.
* tests/mv/mv-special-1.sh: Likewise.
* NEWS: Mention the improvement.
Fixes http://bugs.gnu.org/26971
NEWS
src/copy.c
tests/mv/backup-dir.sh
tests/mv/mv-n.sh
tests/mv/mv-special-1.sh