From b5150a0d6fd21c0cb6eee12c4ca7a36ae39726c2 Mon Sep 17 00:00:00 2001 From: nfnty Date: Fri, 31 Oct 2014 16:38:19 +0100 Subject: mark vcs outdated on file creation and edit --- ranger/container/fsobject.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.4.1-2-gfad0