hgext/lfs/wrapper.py
branchstable
changeset 35799 b91bca85ba73
parent 35663 a985834961f7
child 35921 47e737d27e01
--- a/hgext/lfs/wrapper.py	Tue Jan 23 20:50:02 2018 -0500
+++ b/hgext/lfs/wrapper.py	Tue Jan 23 21:29:45 2018 -0500
@@ -131,8 +131,7 @@
 
     lfstrack = self.opener.options['lfstrack']
 
-    # Always exclude hg owned files
-    if not self.filename.startswith('.hg') and lfstrack(self.filename, textlen):
+    if lfstrack(self.filename, textlen):
         flags |= revlog.REVIDX_EXTSTORED
 
     return orig(self, text, transaction, link, p1, p2, cachedelta=cachedelta,