util: ignore_file should not allow files ending with '~'

ignore_file currently allows any file ending with '~' while it
seems that the opposite was intended:
a228a22fda
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2014-05-31 21:44:34 +02:00
parent d8e40d62ab
commit 93f1a06374
+1 -1
View File
@@ -1371,7 +1371,7 @@ bool ignore_file(const char *filename) {
assert(filename);
if (endswith(filename, "~"))
return false;
return true;
return ignore_file_allow_backup(filename);
}