If you click the Icon in either of the left panes the gui will consider staging, or unstaging (depending on the pane) the specific file.
If you click the filename, then the gui will determine it's diff and display that diff in the right hand pane. Philip As an aside about modes; If you are on windows, then an accidental unstage, followed by re-staging, can loose the mode bits (particulalrly the exec mode), becaue of the way windows 'guesses' the mode during the re-stage. This is a problem for some shell scripts that don't have a .sh suffix. ----- Original Message ----- From: Gergely Polonkai To: [email protected] Sent: Tuesday, March 29, 2016 6:28 AM Subject: Re: [git-users] strange behavior On Mar 28, 2016 18:18, "Philip Oakley" <[email protected]> wrote: > > From: Dimitris Papageorgiou >> >> To: Git for human beings >> Sent: Monday, March 28, 2016 5:11 PM >> Subject: [git-users] strange behavior >> >> I am in git gui...when I click a specific file in the left...I get a popup window about no differences detected...I click OK..the file for a second or so vanishes from the pane and reappears...can somebody explain this strange behavior? >> -- > > Hi Dimitris > Did you click the icon, or the file name? they have different actions. On a side note, this sounds like bad UX to me. I use Git (and git-gui) for cca 8 years now, and never heard of this. > > Was this the upper left pane? > > Also could you describe what file is (is it text, is it big, is it new, LF or CRLF, what app created it,...) etc.? > > Has the mode changed (even on Windows the files are deemed to have a mode)? > > -- > Philip > > -- > You received this message because you are subscribed to the Google Groups "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
