Merge branch 'mm/p4-symlink-with-lfs'
"git p4" tried to store symlinks to LFS when told, but has been fixed not to do so, because it does not make sense. * mm/p4-symlink-with-lfs: git-p4 shouldn't attempt to store symlinks in LFS
This commit is contained in:
@ -1522,6 +1522,10 @@ class LargeFileSystem(object):
|
||||
file is stored in the large file system and handles all necessary
|
||||
steps.
|
||||
"""
|
||||
# symlinks aren't processed by smudge/clean filters
|
||||
if git_mode == "120000":
|
||||
return (git_mode, contents)
|
||||
|
||||
if self.exceedsLargeFileThreshold(relPath, contents) or self.hasLargeFileExtension(relPath):
|
||||
contentTempFile = self.generateTempFile(contents)
|
||||
pointer_git_mode, contents, localLargeFile = self.generatePointer(contentTempFile)
|
||||
|
Reference in New Issue
Block a user