diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-05-20 18:39:58 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-21 04:23:14 (GMT) |
commit | e5d7a61953c236fbc468bc1bb01383766d2cb55b (patch) | |
tree | 441d42216f06365007c97399104a25a56c6faf38 /Documentation/git.txt | |
parent | 0089521cacd99db8018b7a31e205dad0bf0738c7 (diff) | |
download | git-e5d7a61953c236fbc468bc1bb01383766d2cb55b.zip git-e5d7a61953c236fbc468bc1bb01383766d2cb55b.tar.gz git-e5d7a61953c236fbc468bc1bb01383766d2cb55b.tar.bz2 |
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/git.txt')
0 files changed, 0 insertions, 0 deletions