dupemerge: don't stat during the file collection loop
authorZygo Blaxell <zblaxell@waya.furryterror.org>
Fri, 8 Jan 2010 14:16:02 +0000 (09:16 -0500)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Sat, 9 Jan 2010 02:25:45 +0000 (21:25 -0500)
commit55ebeb05eb7883f9eb09976ebfe0f8ea7718e933
treea6b1178b00694f13bc36a480be32cc9e9309d4dd
parent07bccf09a4f852b9aa5e5665f6a5e1932bc755ce
dupemerge: don't stat during the file collection loop

Remove the lstat from the find output reading loop.  It's a redundant
copy of the same code in merge_files.

Adjust merge_files to filter out possible non-files that will now leak
through from the find output.
faster-dupemerge