git-gui: fix multi selected file operation
commita8ca786991f7308ef12cb1d54ff5d28137c0feb1
authorBert Wesarg <bert.wesarg@googlemail.com>
Fri, 14 Oct 2011 08:19:26 +0000 (14 10:19 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 18 Oct 2011 08:10:51 +0000 (18 09:10 +0100)
treea9ecf10659f9473184cea9c87206815c03961a01
parent843d6597fbacfae02b8af7d6840992c92d0863f8
git-gui: fix multi selected file operation

When staging a selection of files using Shift-Click to choose a range
of files then using Ctrl-T or the Stage To Commit menu item will stage
all the selected files. However if a non-sequential range is selected
using Ctrl-Click then all but the first name selected gets staged. This
commit fixes this to properly stage all selected files by explicitly
adding the path to the list before showing the diff.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh