summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-01-21 17:22:00 -0800
committerJunio C Hamano <gitster@pobox.com>2023-01-21 17:22:00 -0800
commit38a49aba901b99365c16b39d2a653f86b801f437 (patch)
tree07e886ac31b5a550961a8ef9b7749e4b086e4073 /t
parentd2917b9099629202da86a8b59fa9e19695c07ede (diff)
parentcf4936ed749a53fbdbc0f03eb101264ab6b55e89 (diff)
Merge branch 'tl/ls-tree-code-clean-up'
Code clean-up. * tl/ls-tree-code-clean-up: t3104: remove shift code in 'test_ls_tree_format' ls-tree: cleanup the redundant SPACE ls-tree: make "line_termination" less generic ls-tree: fold "show_tree_data" into "cb" struct ls-tree: use a "struct options" ls-tree: don't use "show_tree_data" for "fast" callbacks
Diffstat (limited to 't')
-rwxr-xr-xt/t3104-ls-tree-format.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t3104-ls-tree-format.sh b/t/t3104-ls-tree-format.sh
index 383896667b..74053978f4 100755
--- a/t/t3104-ls-tree-format.sh
+++ b/t/t3104-ls-tree-format.sh
@@ -20,7 +20,6 @@ test_ls_tree_format () {
format=$1 &&
opts=$2 &&
fmtopts=$3 &&
- shift 2 &&
test_expect_success "ls-tree '--format=<$format>' is like options '$opts $fmtopts'" '
git ls-tree $opts -r HEAD >expect &&