[repo] ignore file ending with a tilde
This commit is contained in:
parent
6304b26f65
commit
9109f2561a
|
@ -537,9 +537,10 @@ namespace SparkleLib {
|
|||
{
|
||||
|
||||
if (file_path.EndsWith (".lock") ||
|
||||
file_path.Contains (".git") ||
|
||||
file_path.Contains ("/.") ||
|
||||
file_path.EndsWith (".swp") ||
|
||||
file_path.EndsWith ("~") ||
|
||||
file_path.Contains (".git") ||
|
||||
file_path.Contains ("/.") ||
|
||||
file_path.EndsWith (".swp") ||
|
||||
Directory.Exists (LocalPath + file_path)) {
|
||||
|
||||
return true; // Yes, ignore it
|
||||
|
|
Loading…
Reference in a new issue