Skip to content

ccy/SmartGit-LFS-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SmartGit-LFS-Test

Introduction

This repository test LFS on SmartGit.

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.

Test Environment

  • Windows 10 and above

  • SmartGit

  • Make sure log.workingTreeState=True in SmartGit’s Low-level Properties. This property is True by default. -

Steps to replay SmartGit

  1. Clone this repository from SmartGit.

  2. Make sure SmartGit is open in either mode:app-name:

    • Show Working Tree Windows

    • Show Log Windows + log.workingTreeState=True

  3. In the Git working tree, check out commit obj files #2

  4. Next, check out commit obj files #1, and monitor Windows Task Manager for process git-lfs.exe process. SmartGit will keep launch git-lfs.exe clean for each obj file.

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.

Solution

After report the issue to SmartGit group. The issue has resolved:

  • Download build 17170

  • Add this setting to smartgit.properties (in the .settings directory) before restarting:

    smartgit.status.forceUpdateIndexForLfsRepositories=true

Releases

No releases published

Packages

No packages published