Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-19 | cp: fix handling of -H with multiply specified source dirs | Pádraig Brady | |
Following on from commit v5.92-729-g130dd06, also avoid the erroneous directory hardlink warning with -H. * src/copy.c (copy_internal): Also handle the -H case for command line arguments. * tests/cp/duplicate-sources.sh: Augment the test case. * NEWS: Augment the news entry. | |||
2014-09-19 | cp: issue correct warning and ignore duplicate source dirs | Pádraig Brady | |
* src/copy.c (copy_internal): Handle the case where we have the same destination directory as already encountered, which can only be due to the corresponding source directory being specified multiple times. * tests/cp/duplicate-sources.sh: Add a test for the new multiply specified directory case, and the existing multiply specified file case. * tests/local.mk: Reference the new test. * NEWS: Mention the bug fix. |