summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2012-02-01 18:08:49 +0100
committerJean Delvare <jdelvare@suse.de>2012-02-01 18:08:49 +0100
commit430bb1c5ebd663d7cb797d29e2c90388c23c107c (patch)
tree80f8557691a9eca38830a07c99ce95b65cda3b08 /configure.ac
parent8a3f9645e0ea2709df4d4c68b352e46afe07919c (diff)
downloadquilt-430bb1c5ebd663d7cb797d29e2c90388c23c107c.tar.gz
backup-files: Quick exit when unlinking is not needed
The "check for hard links" use case is almost always a no-op. Check if any work is needed at all first, and only if this is the case, walk the list of files and unlink the faulty files. This approach results in a huge performance gain in the most common case, and a very small performance loss in the uncommon case. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Raphael Hertzog <hertzog@debian.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions