diff options
author | Jed Brown <jed@59A2.org> | 2013-08-20 08:51:48 -0500 |
---|---|---|
committer | Jed Brown <jed@59A2.org> | 2013-08-20 08:51:48 -0500 |
commit | f0becae702b967e1b963b1a101aca233436272e8 (patch) | |
tree | 4a85f0f5b9b458c64cc0bda49800789c3a57b3e1 | |
parent | 6e768244fdbca34374a53459441b04adfd26c3a1 (diff) | |
parent | 8a296c8e711edc8a0e6c300949db63dd983db48a (diff) | |
download | git-fat-f0becae702b967e1b963b1a101aca233436272e8.tar.gz |
Merge branch 'symlinks-in-index-filter' of github:chhitz/git-fat (PR #15)
* 'symlinks-in-index-filter' of github:chhitz/git-fat:
ignore symbolic links during index-filter
-rwxr-xr-x | git-fat | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -470,6 +470,9 @@ class GitFat(object): filename = tail.strip() if filename not in filelist: continue + if mode == "120000": + # skip symbolic links + continue # This file will contain the hash of the cleaned object hashfile = os.path.join(self.gitdir, 'fat', 'index-filter', blobhash) try: |