It seem to me every time I commit a normal files (text file) with small change took more than 40seconds to be finished.
When I look at the TRACE, it seem to be delay for a while at 11:42:05.182320 trace git-lfs: exec: git 'version'.
Also, run git lfs install is really slow too. Wounder they are relate.
I Also noted that git lfs env took a quite a long time to complete too.
See all the log bellow:
git commit -a -m ".................."
11:42:04.475541 git.c:344 trace: built-in: git commit -a -m '...........'
11:42:04.842330 run-command.c:640 trace: run_command: git gc --auto
11:42:04.920327 git.c:344 trace: built-in: git gc --auto
11:42:04.935927 run-command.c:640 trace: run_command: GIT_EDITOR=: GIT_INDEX_FILE=/cygdrive/c/projects/git/XYZ/.git/modules/XX/YY/index /cygdrive/c/projects/git/XYZ/.git/modules/XX/YY/hooks/post-commit
11:42:05.091922 git.c:576 trace: exec: git-lfs post-commit
11:42:05.091922 run-command.c:640 trace: run_command: git-lfs post-commit
11:42:05.182320 trace git-lfs: exec: git 'version'
11:43:23.773230 trace git-lfs: exec: git 'config' '-l'
11:43:34.398492 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
11:43:47.358082 trace git-lfs: filepathfilter: rewrite ".git" as "**/.git/**"
11:43:47.358082 trace git-lfs: filepathfilter: rewrite "**/.git" as "**/.git"
11:43:47.358082 trace git-lfs: filepathfilter: rejecting "YY" via []
11:43:47.358082 trace git-lfs: filepathfilter: accepting "YY"
11:43:47.358082 trace git-lfs: filepathfilter: rewrite "~*.*" as "**/~*.*"
....
(519)$ git-lfs version
git-lfs/2.6.1 (GitHub; windows amd64; go 1.11.1; git dc072c3e)
(519)$ git version
11:52:17.642972 git.c:344 trace: built-in: git version
git version 2.17.0
(521)$ git-lfs env
11:55:22.963372 trace git-lfs: exec: git 'version'
git-lfs/2.6.1 (GitHub; windows amd64; go 1.11.1; git dc072c3e)
git version 2.17.0
11:55:35.774772 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
11:56:54.454613 trace git-lfs: exec: git 'config' '-l'
Endpoint=https://stash.ZZZZ.com/att/YY.git/info/lfs (auth=basic)
SSH=git@stash.ZZZZ.com:att/YY.git
LocalWorkingDir=C:\projects\git\XYZ\XX\YY
LocalGitDir=C:\projects\git\XYZ\.git\modules\XX\YY
LocalGitStorageDir=C:\projects\git\XYZ\.git\modules\XX\YY
LocalMediaDir=C:\projects\git\XYZ\.git\modules\XX\YY\lfs\objects
LocalReferenceDirs=
TempDir=C:\projects\git\XYZ\.git\modules\XX\YY\lfs\tmp
ConcurrentTransfers=3
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=C:\projects\git\XYZ\.git\modules\XX\YY\lfs
AccessDownload=basic
AccessUpload=basic
DownloadTransfers=basic
UploadTransfers=basic
GIT_CURL_VERBOSE=1
GIT_LFS_PATH=C:\Program Files\Git LFS
GIT_TRACE=1
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"
11:56:58.899219 trace git-lfs: filepathfilter: rewrite ".git" as "**/.git/**"
11:56:58.899219 trace git-lfs: filepathfilter: rewrite "**/.git" as "**/.git"
11:56:58.899219 trace git-lfs: filepathfilter: rejecting "tmp" via []
11:56:58.899219 trace git-lfs: filepathfilter: accepting "tmp"
11:56:58.899219 trace git-lfs: filepathfilter: rejecting "objects" via []
11:56:58.899219 trace git-lfs: filepathfilter: accepting "objects"
It seem to me every time I commit a normal files (text file) with small change took more than 40seconds to be finished.
When I look at the TRACE, it seem to be delay for a while at
11:42:05.182320 trace git-lfs: exec: git 'version'.Also, run
git lfs installis really slow too. Wounder they are relate.I Also noted that
git lfs envtook a quite a long time to complete too.See all the log bellow: