diff options
author | Christian Hitz <christian.hitz@aizo.com> | 2013-08-15 17:18:27 +0200 |
---|---|---|
committer | Christian Hitz <christian.hitz@aizo.com> | 2013-08-20 11:24:34 +0200 |
commit | 8a296c8e711edc8a0e6c300949db63dd983db48a (patch) | |
tree | 532b6fb7d5abb72a700a2a142b9a4858a84c6783 | |
parent | 4664f2dc2eee13b86d2e426780fd1130e0086e9f (diff) | |
download | git-fat-8a296c8e711edc8a0e6c300949db63dd983db48a.tar.gz |
ignore symbolic links during index-filter
symbolic links should not be handled by git-fat even if
their name match the filelist
-rwxr-xr-x | git-fat | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -444,6 +444,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: |