-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Error in git GUI when trying to stage files #1075
Comments
There have been a couple of recent changes in Git GUI, could you test again? |
Confirmed - also have the bug for few weeks now... Using (currently latest) 2.13.0.windows.1 The bug seems to trigger when the last click was not on the file to-be-staged. It happens on multiple occasions - stage, unstage, discard. The Git Gui is quite unusable for me as it is... I am using it mostly for line-editing with the shortcut keys, but if the shortcuts don'r work, the GUI is inferior to the command line |
A fixed version should appear in https://wingit.blob.core.windows.net/files/index.html within the next hour or so. Please test. |
The snapshot is now definitely available. Please test. |
commit 3603d17 |
Looks like a similar fix needed at L2535, which is line 29 of the procedure "toggle_or_diff"
https://github.com/git-for-windows/git/blob/7cf4526635128de05c7759b0cbb678dc3a4e68f2/git-gui/git-gui.sh#L2535
(or an update of $w from the previous fix)
Philip
----- Original Message -----
From: redmanmale
To: git-for-windows/git
Cc: Subscribed
Sent: Wednesday, May 24, 2017 2:49 PM
Subject: Re: [git-for-windows/git] Error in git GUI when trying to stage files (#1075)
can't read "file_lists(.vpane.lower.diff.body.t)": no such element in array
can't read "file_lists(.vpane.lower.diff.body.t)": no such element in array
while executing
"lindex $file_lists($w) [expr {$lno - 1}]"
(procedure "toggle_or_diff" line 29)
invoked from within
"toggle_or_diff toggle .vpane.lower.diff.body.t "
(command bound to event)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@redmanmale this 1) is a different error message, and 2) should be accompanied by a description what you did, to avoid completely unnecessary frustration on both of our sides. @PhilipOakley I tried to fix it as you suggested, and pushed to |
Please test the newest snapshot at https://wingit.blob.core.windows.net/files/index.html |
Fixed. I tested version at commit 8b4e64d. |
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@redmanmale thanks! |
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes #1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If there is nothing to stage, there is nothing to stage. Let's not try to, even if the file list contains nothing at all. This fixes git-for-windows#1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Setup
Win 7 x64
defaults?
to the issue you're seeing?
No.
Details
Bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Accidently stage files from empty Unstaged Changes panel via shortcut CTRL-T.
Nothing. Because all files have already been staged.
GUI error
URL to that repository to help us with testing?
Reproducible on any repository.
Steps to reproduce:
It's not a duplicate of #1060, it'a different bug.
The text was updated successfully, but these errors were encountered: