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
href='#n119'>119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217