The repository enable LFS support for *.obj files defined in .gitattributes:
*.obj filter=lfs diff=lfs merge=lfs -text
Next, there are 2 commits:
-
obj files #1 -
obj files #2
that stores the 2 versions of obj files.
-
Windows 10 and above
-
SmartGit
-
Make sure
log.workingTreeState=Truein SmartGit’s Low-level Properties. This property isTrueby default. -
-
Clone this repository from SmartGit.
-
Make sure SmartGit is open in either mode:app-name:
-
Show Working Tree Windows -
Show Log Windows+log.workingTreeState=True
-
-
In the Git working tree, check out commit
obj files #2 -
Next, check out commit
obj files #1, and monitor Windows Task Manager for processgit-lfs.exeprocess. SmartGit will keep launchgit-lfs.exe cleanfor eachobjfile.
If Working Tree Windows isn’t enable or log.workingTreeState=False, the git-lfs.exe clean process will not launch. But once Working Tree Windows is opened for the Git repository, the git-lfs.exe clean will trigger again.
Try check out obj files #1 or obj files #2 few times, the git-lfs.exe clean shall trigger too.
A repository that stores a number of LFS object will cause the SmartGit to freeze when git-lfs.exe clean happen.
After report the issue to SmartGit group. The issue has resolved:
-
Download build 17170
-
Add this setting to
smartgit.properties(in the.settingsdirectory) before restarting:smartgit.status.forceUpdateIndexForLfsRepositories=true