Git with broken hash generation to generate collisions between object IDs. Don't use this! https://undefinedbehavior.de/posts/commit-vandalism/
Go to file
Abhijit Menon-Sen 8a965b8ee2 git-gui: Move on to the next filename after staging/unstaging a change
Suppose the "Unstaged Changes" pane contains a list of files, and one of
them is selected (i.e., that diff is currently being displayed). If one
clicks on the icon to stage the change, git-gui clears the diff and one
has to click on another filename to see the next diff in the list.

This patch changes that behaviour. If one clicks on the icon to stage
(or unstage) the file whose diff is being displayed, git-gui will move
on to the next filename in the list and display that diff instead of a
blank diff pane. If the selected file was at the end of the list, the
diff pane will display the previous diff instead; if the selected file
was the only one listed, the diff pane will become blank.

If no diff is currently being displayed, this patch changes nothing.

Signed-off-by: Abhijit Menon-Sen <ams@toroid.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-06-13 17:58:00 -04:00
lib git-gui: Vertically align textboxes with labels 2008-05-26 21:05:20 -04:00
macosx git-gui: support Git Gui.app under OS X 10.5 2008-02-12 02:34:45 -05:00
po git-gui: Update German translation 2008-05-01 18:13:14 -04:00
windows git-gui: add mingw specific startup wrapper 2007-10-10 03:50:01 -04:00
.gitignore git-gui: Honor a config.mak in git-gui's top level 2007-10-13 22:14:14 -04:00
git-gui.sh git-gui: Move on to the next filename after staging/unstaging a change 2008-06-13 17:58:00 -04:00
GIT-VERSION-GEN git-gui 0.10 2008-04-02 02:17:11 -04:00
Makefile git-gui: Simplify MSGFMT setting in Makefile 2008-03-12 01:48:32 -04:00