{"thread":{"id":"56472","subject":"Error: error converting \".git\" to absolute: EvalSymlinks: too many links","startedAt":"2021-09-09T18:32:03Z","lastAt":"2021-09-10T11:11:48Z","messageCount":2,"participants":["Lucas Araki","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"435289","messageId":"CALM-bLiWrJQnU3M5ToQo+72hvToHRknfvH5RVy2zHUgnnsdpXg@mail.gmail.com","threadId":"56472","inReplyTo":null,"subject":"Error: error converting \".git\" to absolute: EvalSymlinks: too many links","fromName":"Lucas Araki","fromEmail":"lucas.t.araki@gmail.com","sentAt":"2021-09-09T18:31:34Z","receivedAt":"2021-09-09T18:32:03Z","isPatch":false,"sender":{"key":"lucas.t.araki@gmail.com","avatar":null},"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\nAttempted push operation\n\nWhat did you expect to happen? (Expected behavior)\npush operation success, no error message\n\nWhat happened instead? (Actual behavior)\nPush operation failed with error message:\nError: error converting \".git\" to absolute: EvalSymlinks: too many links\nref feature/feature_name:: EvalSymlinks: too many links\nerror: failed to push some refs to 'https://my_server_name/my_project.git'\n\nIn addition, lfs/ directory was created in project folder instead of\n.git folder.\n\nWhat's different between what you expected and what actually happened?\nDid not expect lfs/ directory to be created in project folder.\nDon't expect error on push operation.\n\nAnything else you want to add:\nAfter reading issues #4050 and #4012, attempted:\n`git lfs env` and got output:\ngit-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)\ngit version 2.33.0.windows.2\n\nError: error converting \".git\" to absolute: EvalSymlinks: too many links\nEndpoint=https://my_server_name/my_project.git/info/lfs (auth=basic)\nLocalWorkingDir=\nLocalGitDir=\nLocalGitStorageDir=\nLocalMediaDir=lfs\\objects\nLocalReferenceDirs=\nTempDir=lfs\\tmp\nConcurrentTransfers=8\nTusTransfers=false\nBasicTransfersOnly=false\nSkipDownloadErrors=false\nFetchRecentAlways=false\nFetchRecentRefsDays=7\nFetchRecentCommitsDays=0\nFetchRecentRefsIncludeRemotes=true\nPruneOffsetDays=3\nPruneVerifyRemoteAlways=false\nPruneRemoteName=origin\nLfsStorageDir=lfs\nAccessDownload=basic\nAccessUpload=basic\nDownloadTransfers=basic,lfs-standalone-file\nUploadTransfers=basic,lfs-standalone-file\nGIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core\ngit config filter.lfs.process = \"git-lfs filter-process\"\ngit config filter.lfs.smudge = \"git-lfs smudge -- %f\"\ngit config filter.lfs.clean = \"git-lfs clean -- %f\"\n\n\nRealized that project was in Box drive folder, set to keep local copy,\nbut based on issues #4050 and #4012, decided to try moving project to\na different local location.\nI copied entire project directory our of Box folder, then re-ran `git\nlfs env` and got output:\ngit-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)\ngit version 2.33.0.windows.2\n\nEndpoint=https://git.elsys.gtri.org/scm/tads/tads-suite-test-plan.git/info/lfs\n(auth=basic)\nLocalWorkingDir=C:\\Users\\username\\myProject\nLocalGitDir=C:\\Users\\username\\myProject\\.git\nLocalGitStorageDir=C:\\Users\\username\\myProject\\.git\nLocalMediaDir=C:\\Users\\username\\myProject\\.git\\lfs\\objects\nLocalReferenceDirs=\nTempDir=C:\\Users\\username\\myProject\\.git\\lfs\\tmp\nConcurrentTransfers=8\nTusTransfers=false\nBasicTransfersOnly=false\nSkipDownloadErrors=false\nFetchRecentAlways=false\nFetchRecentRefsDays=7\nFetchRecentCommitsDays=0\nFetchRecentRefsIncludeRemotes=true\nPruneOffsetDays=3\nPruneVerifyRemoteAlways=false\nPruneRemoteName=origin\nLfsStorageDir=C:\\Users\\username\\myProject\\.git\\lfs\nAccessDownload=basic\nAccessUpload=basic\nDownloadTransfers=basic,lfs-standalone-file\nUploadTransfers=basic,lfs-standalone-file\nGIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core\ngit config filter.lfs.process = \"git-lfs filter-process\"\ngit config filter.lfs.smudge = \"git-lfs smudge -- %f\"\ngit config filter.lfs.clean = \"git-lfs clean -- %f\"\n\nNoticed that LocalGitDir looked correct and was no longer blank.\nRe-tried `git push` from new project location and push operation succeeded.\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.33.0.windows.2\ncpu: x86_64\nbuilt from commit: 8735530946cced809cc6cc4c2ca3b078cdb3dfc8\nsizeof-long: 4\nsizeof-size_t: 8\nshell-path: /bin/sh\nfeature: fsmonitor--daemon\nuname: Windows 10.0 19042\ncompiler info: gnuc: 10.3\nlibc info: no libc information available\n$SHELL (typically, interactive shell): <unset>\n\n\n[Enabled Hooks]\npost-commit\npost-checkout\npost-merge\npre-push\n"},{"id":"435393","messageId":"nycvar.QRO.7.76.6.2109101303370.59@tvgsbejvaqbjf.bet","threadId":"56472","inReplyTo":"CALM-bLiWrJQnU3M5ToQo+72hvToHRknfvH5RVy2zHUgnnsdpXg@mail.gmail.com","subject":"Re: Error: error converting \".git\" to absolute: EvalSymlinks: too many links","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2021-09-10T11:11:43Z","receivedAt":"2021-09-10T11:11:48Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Lucas,\n\nOn Thu, 9 Sep 2021, Lucas Araki wrote:\n\n> Thank you for filling out a Git bug report!\n> Please answer the following questions to help us understand your issue.\n>\n> What did you do before the bug happened? (Steps to reproduce your issue)\n> Attempted push operation\n>\n> What did you expect to happen? (Expected behavior)\n> push operation success, no error message\n>\n> What happened instead? (Actual behavior)\n> Push operation failed with error message:\n> Error: error converting \".git\" to absolute: EvalSymlinks: too many links\n\nThe \"EvalSymlinks\" part makes me believe that this is an error message\nproduced by Go, and since you indicated that you use Git LFS (which is\nimplemented in Go), that's where I looked. And I think I found a relevant\nbug report:\n\n\thttps://github.com/git-lfs/git-lfs/issues/4333\n\nIt points to https://github.com/git-lfs/git-lfs/issues/4012, which in turn\npoints to https://github.com/git-lfs/git-lfs/pull/4418 which was merged on\nMarch 4th, well in time for Git LFS v2.13.3, which was released on March\n26th.\n\nHowever, you mention in passing something like \"Box\"? Maybe that's an\nimportant piece of the puzzle.\n\nIn any case, I would recommend taking this to Git LFS's bug tracker.\n\nCiao,\nJohannes\n\n> ref feature/feature_name:: EvalSymlinks: too many links\n> error: failed to push some refs to 'https://my_server_name/my_project.git'\n>\n> In addition, lfs/ directory was created in project folder instead of\n> .git folder.\n>\n> What's different between what you expected and what actually happened?\n> Did not expect lfs/ directory to be created in project folder.\n> Don't expect error on push operation.\n>\n> Anything else you want to add:\n> After reading issues #4050 and #4012, attempted:\n> `git lfs env` and got output:\n> git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)\n> git version 2.33.0.windows.2\n>\n> Error: error converting \".git\" to absolute: EvalSymlinks: too many links\n> Endpoint=https://my_server_name/my_project.git/info/lfs (auth=basic)\n> LocalWorkingDir=\n> LocalGitDir=\n> LocalGitStorageDir=\n> LocalMediaDir=lfs\\objects\n> LocalReferenceDirs=\n> TempDir=lfs\\tmp\n> ConcurrentTransfers=8\n> TusTransfers=false\n> BasicTransfersOnly=false\n> SkipDownloadErrors=false\n> FetchRecentAlways=false\n> FetchRecentRefsDays=7\n> FetchRecentCommitsDays=0\n> FetchRecentRefsIncludeRemotes=true\n> PruneOffsetDays=3\n> PruneVerifyRemoteAlways=false\n> PruneRemoteName=origin\n> LfsStorageDir=lfs\n> AccessDownload=basic\n> AccessUpload=basic\n> DownloadTransfers=basic,lfs-standalone-file\n> UploadTransfers=basic,lfs-standalone-file\n> GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core\n> git config filter.lfs.process = \"git-lfs filter-process\"\n> git config filter.lfs.smudge = \"git-lfs smudge -- %f\"\n> git config filter.lfs.clean = \"git-lfs clean -- %f\"\n>\n>\n> Realized that project was in Box drive folder, set to keep local copy,\n> but based on issues #4050 and #4012, decided to try moving project to\n> a different local location.\n> I copied entire project directory our of Box folder, then re-ran `git\n> lfs env` and got output:\n> git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)\n> git version 2.33.0.windows.2\n>\n> Endpoint=https://git.elsys.gtri.org/scm/tads/tads-suite-test-plan.git/info/lfs\n> (auth=basic)\n> LocalWorkingDir=C:\\Users\\username\\myProject\n> LocalGitDir=C:\\Users\\username\\myProject\\.git\n> LocalGitStorageDir=C:\\Users\\username\\myProject\\.git\n> LocalMediaDir=C:\\Users\\username\\myProject\\.git\\lfs\\objects\n> LocalReferenceDirs=\n> TempDir=C:\\Users\\username\\myProject\\.git\\lfs\\tmp\n> ConcurrentTransfers=8\n> TusTransfers=false\n> BasicTransfersOnly=false\n> SkipDownloadErrors=false\n> FetchRecentAlways=false\n> FetchRecentRefsDays=7\n> FetchRecentCommitsDays=0\n> FetchRecentRefsIncludeRemotes=true\n> PruneOffsetDays=3\n> PruneVerifyRemoteAlways=false\n> PruneRemoteName=origin\n> LfsStorageDir=C:\\Users\\username\\myProject\\.git\\lfs\n> AccessDownload=basic\n> AccessUpload=basic\n> DownloadTransfers=basic,lfs-standalone-file\n> UploadTransfers=basic,lfs-standalone-file\n> GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core\n> git config filter.lfs.process = \"git-lfs filter-process\"\n> git config filter.lfs.smudge = \"git-lfs smudge -- %f\"\n> git config filter.lfs.clean = \"git-lfs clean -- %f\"\n>\n> Noticed that LocalGitDir looked correct and was no longer blank.\n> Re-tried `git push` from new project location and push operation succeeded.\n>\n> Please review the rest of the bug report below.\n> You can delete any lines you don't wish to share.\n>\n>\n> [System Info]\n> git version:\n> git version 2.33.0.windows.2\n> cpu: x86_64\n> built from commit: 8735530946cced809cc6cc4c2ca3b078cdb3dfc8\n> sizeof-long: 4\n> sizeof-size_t: 8\n> shell-path: /bin/sh\n> feature: fsmonitor--daemon\n> uname: Windows 10.0 19042\n> compiler info: gnuc: 10.3\n> libc info: no libc information available\n> $SHELL (typically, interactive shell): <unset>\n>\n>\n> [Enabled Hooks]\n> post-commit\n> post-checkout\n> post-merge\n> pre-push\n>\n"}]}