Remove unnecessary exec the process by filter wrapper

This change improve git-lfs performance on Windows
This commit is contained in:
Artem V. Navrotskiy 2015-06-10 16:21:11 +03:00
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) {