git-gui: deal with unknown files when pressing the "Stage Changed" button
authorHeiko Voigt <hvoigt@hvoigt.net>
Fri, 27 May 2011 15:40:24 +0000 (17:40 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 6 Oct 2011 22:20:16 +0000 (23:20 +0100)
commit856c2d75c64b0e7cfc1a8d84ad5344e8b2354085
treeb0421fa155bf5ca20096e7ac55f6ca9d58756859
parent29776c75d0ed79c544601b1630d532f9e121b9c7
git-gui: deal with unknown files when pressing the "Stage Changed" button

As a shortcut the "Stage Changed" button can be used to stage all current
changes in the worktree which are not set to ignore. Previously unknown
files would be ignored. The user might want to say: "Just save everything
in my worktree". To support this workflow we now ask whether the user also
wants to stage the unknown files if there are some present.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/index.tcl