-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start with a fresh/empty repository #108
Comments
Hi @laurent-simon, Thanks for reporting this! This is clearly a bug. I'll fix it as soon as possible and release a path version. |
Can confirm with updated develop branch. Technical information Take a look at
I'm pretty sure both of them are not "clean" solutions, but I don't know the codebase good enough yet to contribute real code. Happy coding 😄 |
Hi @fklappan, The first option would be better than the second one and I can actually explain why that worked so easily! 😄 It turns out that the problem is that no "work in progress" commit is added. The revisions/commits are added in the cache once the GitRequestorProcess emits the procDataReady signal. That drives to the GitRepoLoader::processRevision method and in there, all the revisions are added as well as the WIP commit (in the GitQlient slang). I'm going to actually go for the first option. I actually thing it's a clean solution for the following reason: the signal should be triggered if the query went well. It's not a matter of GitRequestorProcess how much information the query reported. That should be handled by the GitRepoLoader::processRevision. |
Transferring the reponsability of evaluating the data to GitRepoLoader.
Transferring the reponsability of evaluating the data to GitRepoLoader.
I've published a patch v1.1.1 with the fix. |
When you start with an empty repository (
git init
and nothing else ), there is no way to add any file to it with GitQlient. TheUntracked files
list stays desperately empty (despite refreshes).You have to go to the command line and use
git add
to add a first file (at least), then GitQlient becomes operational on the repository.The text was updated successfully, but these errors were encountered: