{"thread":{"id":"61856","subject":"Problem","startedAt":"2024-07-27T22:49:42Z","lastAt":"2024-07-29T21:59:53Z","messageCount":2,"participants":["Michael Salman","brian m. carlson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"499494","messageId":"c35ed7ff-48b6-4555-baef-cccdc926e6ba@pathcom.com","threadId":"61856","inReplyTo":null,"subject":"Problem","fromName":"Michael Salman","fromEmail":"mjsalman@pathcom.com","sentAt":"2024-07-27T22:38:22Z","receivedAt":"2024-07-27T22:49:42Z","isPatch":false,"sender":{"key":"mjsalman@pathcom.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)\nUsing visual studio created a project and initialized it. Git works fine \nunder vs\nWhat did you expect to happen? (Expected behavior)\nUsing a command prompt I cd to where the repository is and give the \ncommand git status.\nWhat happened instead? (Actual behavior)\nIt reports that this is not a valid repository. I noticed that the \nrepository does not have a .git file\nWhat's different between what you expected and what actually happened?\nUsing command prompt if I cd to a different repository (which has a .git \nfile) the git status command works fine\nAnything else you want to add:\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.45.2.windows.1\ncpu: x86_64\nbuilt from commit: 91d03cb2e4fbf6ad961ace739b8a646868cb154d\nsizeof-long: 4\nsizeof-size_t: 8\nshell-path: /bin/sh\nfeature: fsmonitor--daemon\nuname: Windows 10.0 22631\ncompiler info: gnuc: 14.1\nlibc info: no libc information available\n$SHELL (typically, interactive shell): <unset>\n\n\n[Enabled Hooks]\n"},{"id":"499537","messageId":"ZqgPJYH190j_4ZGM@tapette.crustytoothpaste.net","threadId":"61856","inReplyTo":"c35ed7ff-48b6-4555-baef-cccdc926e6ba@pathcom.com","subject":"Re: Problem","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2024-07-29T21:52:37Z","receivedAt":"2024-07-29T21:59:53Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On 2024-07-27 at 22:38:22, Michael Salman wrote:\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> Using visual studio created a project and initialized it. Git works fine\n> under vs\n> What did you expect to happen? (Expected behavior)\n> Using a command prompt I cd to where the repository is and give the command\n> git status.\n> What happened instead? (Actual behavior)\n> It reports that this is not a valid repository. I noticed that the\n> repository does not have a .git file\n> What's different between what you expected and what actually happened?\n> Using command prompt if I cd to a different repository (which has a .git\n> file) the git status command works fine\n\nA Git repository with a working tree doesn't strictly have to have a\n`.git` file or directory, but if you don't have one, you have to\nexplicitly set configuration options or environment variables to make\nthis work.  Since I very much doubt that was done here, it sounds like\nthis actually is not a Git repository, and Visual Studio has a bug that\ncauses it to either misconfigure Git or not work with it properly.  It\nshould at least provide you sufficient information to allow you to\ndetermine how it initialized the repository and where it's storing the\ndata so you can properly work with it using the command line tools.\n\nIn any event, this sounds like a Visual Studio bug and not a Git bug, so\nI'd report it to the appropriate Visual Studio issue tracker.  I don't\nthink there's anything we can do here, since we don't know how Visual\nStudio is invoking Git or how it's configuring the repository.\n-- \nbrian m. carlson (they/them or he/him)\nToronto, Ontario, CA\n"}]}