Remove unnecessary exec the process by filter wrapper
This change improve git-lfs performance on Windows
This commit is contained in:
parent
5e47f06e08
commit
ee0c877ab9
@ -90,7 +90,7 @@ func InstallFilters() error {
|
|||||||
|
|
||||||
func setFilter(filterName string) error {
|
func setFilter(filterName string) error {
|
||||||
key := fmt.Sprintf("filter.lfs.%s", filterName)
|
key := fmt.Sprintf("filter.lfs.%s", filterName)
|
||||||
value := fmt.Sprintf("git lfs %s %%f", filterName)
|
value := fmt.Sprintf("git-lfs %s %%f", filterName)
|
||||||
|
|
||||||
existing := git.Config.Find(key)
|
existing := git.Config.Find(key)
|
||||||
if shouldReset(existing) {
|
if shouldReset(existing) {
|
||||||
|
Loading…
Reference in New Issue
Block a user