-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
I just installed from scoop and trying to launch LG in an empty folder. LG asks me if i want to create a repository there, and regardless of an answer just exits.
Windows 7 SP1 Rus x64, PowerShell 7, DotNet runtime (4 or 5 don't remember)
SysInternals Process Monitor shows no attempt at creating repos happens at all.
The debug log seems to show no command to create repo is ever given to git.exe (i have a functioning TortoiseGit latest, which required and uses command-line git)
C:\>cd /d d:\Bitrix
d:\Bitrix>mkdir www_src
d:\Bitrix>cd www_src
d:\Bitrix\www_src>lazygit
Not in a git repository. Create a new git repository? (y/n): y
d:\Bitrix\www_src>lazygit
Not in a git repository. Create a new git repository? (y/n): y
d:\Bitrix\www_src>lazygit
Not in a git repository. Create a new git repository? (y/n): n
d:\Bitrix\www_src>lazygit
Not in a git repository. Create a new git repository? (y/n): Y
d:\Bitrix\www_src>lazygit -v
commit=2eeff1257b883898609015ba891e8869578957e7, build date=2021-08-17T09:20:59Z
, build source=binaryRelease, version=0.29, os=windows, arch=amd64
d:\Bitrix\www_src>lazygit -d
Not in a git repository. Create a new git repository? (y/n): y
and then
{"buildDate":"2021-08-17T09:20:59Z","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"info","msg":"language: ru","time":"2021-09-22T15:08:19+03:00","version":"0.29"}
{"buildDate":"2021-08-17T09:20:59Z","command":"C:\\Git\\cmd\\git.exe --version","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"info","msg":"RunCommand","time":"2021-09-22T15:08:19+03:00","version":"0.29"}
{"buildDate":"2021-08-17T09:20:59Z","command":"C:\\Git\\cmd\\git.exe rev-parse --git-dir","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"info","msg":"RunCommand","time":"2021-09-22T15:08:19+03:00","version":"0.29"}
{"buildDate":"2021-08-17T09:20:59Z","command":"git rev-parse --git-dir","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"error","msg":"fatal: not a git repository (or any of the parent directories): .git\n","time":"2021-09-22T15:08:19+03:00","version":"0.29"}
{"buildDate":"2021-08-17T09:20:59Z","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"info","msg":"language: ru","time":"2021-09-22T15:10:34+03:00","version":"0.29"}
{"buildDate":"2021-08-17T09:20:59Z","command":"C:\\Git\\cmd\\git.exe --version","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"info","msg":"RunCommand","time":"2021-09-22T15:10:35+03:00","version":"0.29"}
{"buildDate":"2021-08-17T09:20:59Z","command":"C:\\Git\\cmd\\git.exe rev-parse --git-dir","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"info","msg":"RunCommand","time":"2021-09-22T15:10:35+03:00","version":"0.29"}
{"buildDate":"2021-08-17T09:20:59Z","command":"git rev-parse --git-dir","commit":"2eeff1257b883898609015ba891e8869578957e7","debug":true,"level":"error","msg":"fatal: not a git repository (or any of the parent directories): .git\n","time":"2021-09-22T15:10:35+03:00","version":"0.29"}
Some background: i seem to be tasked with maintaining and old PHP site on old Linux box (virtualized) using old version of a commercial PHP framework. Just because, who else can make ven minimal fixes and changes there. They made a "sandbox" copy of the server for me to experiment and because that Linux is old i am now looking for a standalone Git UI. I would prefer GUI tool but i am not sure they would manage to make X-over-SSH there, so TUI tools might be the only option. LazyGit seems nice by its "manifest" and because being small stand-alone app (at least on Windows/scoop). ...If only it would had worked.