commit | 2cd9179c14dc830247a84a602caac42afa0fcf8f | [log] [tgz] |
---|---|---|
author | Johannes Schindelin <johannes.schindelin@gmx.de> | Tue Jan 09 15:33:01 2018 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Jan 09 11:02:40 2018 -0800 |
tree | c0f3cbb3805d8a732b241ce0b51b34573402929b | |
parent | 2365e5b17411d50129462c2a1919bedc4fa64c68 [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>