Skip to content

Commit 9f93e46

Browse files
jiangxingitster
authored andcommitted
git-clean: use a git-add-interactive compatible UI
Rewrite menu using a new method `list_and_choose`, which is borrowed from `git-add--interactive.perl`. We will use this framework to add new actions for interactive git-clean later. Please NOTE: * Method `list_and_choose` return an array of integers, and * it is up to you to free the allocated memory of the array. * The array ends with EOF. * If user pressed CTRL-D (i.e. EOF), no selection returned. Signed-off-by: Jiang Xin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7a9b0b8 commit 9f93e46

File tree

1 file changed

+427
-29
lines changed

1 file changed

+427
-29
lines changed

0 commit comments

Comments
 (0)