summary refs log tree commit diff stats
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2014-10-31 16:38:19 +0100
committernfnty <git@nfnty.se>2014-10-31 16:38:19 +0100
commitb5150a0d6fd21c0cb6eee12c4ca7a36ae39726c2 (patch)
tree2136fb87272375524d20ba8b2693bf2e68cb1457
parentcb7674d88543e045dd282cc1da8ded2d52f7373b (diff)
downloadranger-b5150a0d6fd21c0cb6eee12c4ca7a36ae39726c2.tar.gz
mark vcs outdated on file creation and edit
-rw-r--r--ranger/container/fsobject.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py
index 86730fae..dbcfcdca 100644
--- a/ranger/container/fsobject.py
+++ b/ranger/container/fsobject.py
@@ -363,5 +363,7 @@ class FileSystemObject(FileManagerAware, SettingsAware):
             real_ctime = None
         if not self.stat or self.stat.st_ctime != real_ctime:
             self.load()
+            if self.settings.vcs_aware:
+                self.vcs_outdated = True
             return True
         return False
tuptools` by default, Change name for PyPI' href='/akspecs/ranger/commit/.gitignore?id=144de5540dc118f9d1cd50d0b16e817616f367bc'>144de554 ^
6a788eb1 ^

7324552d ^
2c4322ca ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19