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