summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-05-20 20:39:58 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-21 13:23:14 +0900
commite5d7a61953c236fbc468bc1bb01383766d2cb55b (patch)
tree441d42216f06365007c97399104a25a56c6faf38 /Documentation
parentgit.c: convert --list-* to --list-cmds=* (diff)
downloadtgif-e5d7a61953c236fbc468bc1bb01383766d2cb55b.tar.xz
git --list-cmds: collect command list in a string_list
Instead of printing the command directly one by one, keep them in a list and print at the end. This allows more modification before we print out (e.g. sorting, removing duplicates or even excluding some items). Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions