summaryrefslogtreecommitdiff
path: root/git-fat
diff options
context:
space:
mode:
Diffstat (limited to 'git-fat')
-rwxr-xr-xgit-fat2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-fat b/git-fat
index 799a05a..139de3b 100755
--- a/git-fat
+++ b/git-fat
@@ -158,7 +158,7 @@ class GitFat(object):
return itertools.chain([preamble], readblocks(stream)), None
def decode_file(self, fname):
# Fast check
- stat = os.stat(fname)
+ stat = os.lstat(fname)
if stat.st_size != self.magiclen:
return False, None
# read file