Closed johnjohndoe closed 4 years ago
A similar problem was reported some time ago. A contributor proposed a fix that you can find here. Does this fix the issue for you?
This should fix the "wrong # args" problem. The index error is a harder problem, and I'm not sure how to reproduce it.
Does this fix the issue for you?
The change reads suitable for me. Is the patched version available somewhere or would I need to build git-gui myself?
The index error is a harder problem, and I'm not sure how to reproduce it.
Is there anything I can add so you got more information?
The change reads suitable for me. Is the patched version available somewhere or would I need to build git-gui myself?
I don't run any kind of CI/CD system on the repo, so I think you would need to build it yourself. I don't use Windows, so I'm not sure if the development environment is easily available there.
Since the change is quite small, and all of git-gui is just plain text scripts, maybe you can just manually edit them to test. Check here to find out how. Of course, take backups just in case.
Is there anything I can add so you got more information?
If you can provide a simple contained example to reproduce the problem, it would be a pretty good start.
Fixed in https://github.com/prati0100/git-gui/commit/88db24d724619d6c2e602c3b56016f59326d31e3
Please feel free to re-open the issue if the problem persists.
@prati0100 Thanks for the reminder. I can confirm that error messages disappear with the manually applied patch. I just did quick test right now. I will keep it and see how it behaves in the upcoming days. Thank you. Please mention here once the patch is releases in a new version of Git.
Thanks for testing.
Please mention here once the patch is releases in a new version of Git.
I'll probably forget to remind you. It should land into Git v2.27.0 which is due June 1st. If you want it to land in Git for Windows sooner, you might try asking the GfW maintainer here.
I am running git-gui version 0.21.GITGUI with git version 2.26.2.windows.1 on Windows 10.
When I stage a new file the following error is shown in a popup window:
I can choose to "Unlock Index" or "Continue". I choose "Continue". The former window closes and a new error window pops up:
When I choose "OK" then the windows closes and the file is staged.