summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/fsobject/directory.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index c7e58a54..9bd728c1 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -227,8 +227,9 @@ class Directory(FileSystemObject, Accumulator, Loadable, SettingsAware):
                 files = []
                 disk_usage = 0
 
-                self.has_vcschild = False
-                self.load_vcs()
+                if self.settings.vcs_aware:
+                    self.has_vcschild = False
+                    self.load_vcs()
 
                 for name in filenames:
                     try: