chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e40d6
)
util: ignore_file should not allow files ending with '~'
author
Thomas Hindoe Paaboel Andersen
<phomes@gmail.com>
Sat, 31 May 2014 19:36:23 +0000
(21:36 +0200)
committer
Thomas Hindoe Paaboel Andersen
<phomes@gmail.com>
Sat, 31 May 2014 19:44:34 +0000
(21:44 +0200)
ignore_file currently allows any file ending with '~' while it
seems that the opposite was intended:
a228a22fda4faa9ecb7c5a5e499980c8ae5d2a08
src/shared/util.c
patch
|
blob
|
history
diff --git
a/src/shared/util.c
b/src/shared/util.c
index 0c273943e7e671d20439dd7f7962e5c382d50032..17b0ae16cf8398566abd1a9769624bec4aa1a172 100644
(file)
--- a/
src/shared/util.c
+++ b/
src/shared/util.c
@@
-1371,7
+1371,7
@@
bool ignore_file(const char *filename) {
assert(filename);
if (endswith(filename, "~"))
- return
fals
e;
+ return
tru
e;
return ignore_file_allow_backup(filename);
}