diff options
author | nfnty <git@nfnty.se> | 2014-10-31 16:38:19 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2014-10-31 16:38:19 +0100 |
commit | b5150a0d6fd21c0cb6eee12c4ca7a36ae39726c2 (patch) | |
tree | 2136fb87272375524d20ba8b2693bf2e68cb1457 | |
parent | cb7674d88543e045dd282cc1da8ded2d52f7373b (diff) | |
download | ranger-b5150a0d6fd21c0cb6eee12c4ca7a36ae39726c2.tar.gz |
mark vcs outdated on file creation and edit
-rw-r--r-- | ranger/container/fsobject.py | 2 |
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 |