diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2013-06-25 23:53:51 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-26 11:25:11 -0700 |
commit | 9f93e4611f72577306e369a64d0a4da847be9751 (patch) | |
tree | 5dbac477ecd3a4c47406c769521fe9d78db01f9f /t/Git-SVN | |
parent | git-clean: add colors to interactive git-clean (diff) | |
download | tgif-9f93e4611f72577306e369a64d0a4da847be9751.tar.xz |
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 <worldhello.net@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/Git-SVN')
0 files changed, 0 insertions, 0 deletions