buttercat1791 on Nostr: If I run `ngit login` I get this: ``` ngit login Error: git should set GIT_DIR when ...
If I run `ngit login` I get this:
```
ngit login
Error: git should set GIT_DIR when remote helper is called
Caused by:
environment variable not found
```
If ngit can't find the `GIT_DIR` env var, it errors out with that message on any command, even `ngit --help`.
Published at
2024-09-21 14:21:59Event JSON
{
"id": "475b62a8f1177613f951ca229fddf219da1c470d25ae3b646e7ef781a98db808",
"pubkey": "70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9",
"created_at": 1726928519,
"kind": 1,
"tags": [
[
"e",
"c34730b3d0f587c749aca370455dc83e57967ceed89a8d5800fd710482ae5321",
"wss://nostr.wine/",
"root"
],
[
"e",
"0b9560bf5fa6af7975b36d926713b3699a3cb51830074c415493d8808aca43f2",
"",
"reply"
],
[
"p",
"a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
"",
"mention"
]
],
"content": "If I run `ngit login` I get this: \n\n```\nngit login\nError: git should set GIT_DIR when remote helper is called\n\nCaused by:\n environment variable not found\n```\n\nIf ngit can't find the `GIT_DIR` env var, it errors out with that message on any command, even `ngit --help`.",
"sig": "e508aab7d2a3a7da8bc424267ff10a59a6e31b271f9f9cdb4cb104bab35be9f85e48f57970995328c04cf9d03ae4879fbe346c85d86aaee6d7992b753f800c08"
}