(do_move): Remove lots of code that was duplicated in
authorJim Meyering <jim@meyering.net>
Mon, 11 May 1998 04:12:51 +0000 (04:12 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 11 May 1998 04:12:51 +0000 (04:12 +0000)
commit0d7fe8a4dedd8ea4a379d9391fb587ca3cb1c933
tree0ff8fa5c2439ad09d8e1abfdc70717e5f0a1a07b
parent841c6fbfe01ec9d33c4aa8b2b734959a6905b42d
(do_move): Remove lots of code that was duplicated in
copy.c (copy), now that copy() has better support for mv.  This fixes
a bug with cross-filesystem `mv -i' whereby you could get two prompts
for the same destination file and eventually remove the destination
file even though one of the responses was negative.
Reported by Dirk Lattermann.
src/mv.c