git-clean: add support for -i/--interactive
commit17696002086e8c6b9e998543d212e707c7d511ab
authorJiang Xin <worldhello.net@gmail.com>
Tue, 25 Jun 2013 15:53:48 +0000 (25 23:53 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Jun 2013 18:25:11 +0000 (26 11:25 -0700)
treee31beb23102c3220c3604c018d2c9648cfb0ce83
parent396049e5fb62ea921379d02133e1ff00cc47bb3f
git-clean: add support for -i/--interactive

Show what would be done and the user must confirm before actually
cleaning.

    Would remove ...
    Would remove ...
    Would remove ...

    Remove [y/n]?

Press "y" to start cleaning, and press "n" if you want to abort.

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clean.txt
builtin/clean.c