summaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2018-01-09 15:33:01 +0100
committerJunio C Hamano <gitster@pobox.com>2018-01-09 11:02:40 -0800
commit2cd9179c14dc830247a84a602caac42afa0fcf8f (patch)
treec0f3cbb3805d8a732b241ce0b51b34573402929b /git-gui/lib/diff.tcl
parent2365e5b17411d50129462c2a1919bedc4fa64c68 (diff)
git-gui: fix exception when trying to stage with empty file list
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 https://github.com/git-for-windows/git/issues/1075 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions