summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-05-20 20:39:57 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-21 13:23:13 +0900
commit0089521cacd99db8018b7a31e205dad0bf0738c7 (patch)
treeea4ccff30a1bd8081885d78d933729a77bfa0759 /t
parentRemove common-cmds.h (diff)
downloadtgif-0089521cacd99db8018b7a31e205dad0bf0738c7.tar.xz
git.c: convert --list-* to --list-cmds=*
Even if these are hidden options, let's make them a bit more generic since we're introducing more listing types shortly. The code is structured to allow combining multiple listing types together because we will soon add more types the 'builtins'. 'parseopt' remains separate because it has separate (SPC) to match git-completion.bash needs and will not combine with others. 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 't')
-rwxr-xr-xt/t0012-help.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0012-help.sh b/t/t0012-help.sh
index c096f33505..3c91a9024a 100755
--- a/t/t0012-help.sh
+++ b/t/t0012-help.sh
@@ -59,7 +59,7 @@ test_expect_success 'git help' '
'
test_expect_success 'generate builtin list' '
- git --list-builtins >builtins
+ git --list-cmds=builtins >builtins
'
while read builtin