Skip to content

Commit cf4936e

Browse files
dyronegitster
authored andcommitted
t3104: remove shift code in 'test_ls_tree_format'
In t3104-ls-tree-format.sh, There is a legacy 'shift 2' code and the relevant code block no longer depends on it anymore, so let's remove it for a small cleanup. Signed-off-by: Teng Long <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 925a7c6 commit cf4936e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

t/t3104-ls-tree-format.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ test_ls_tree_format () {
2020
format=$1 &&
2121
opts=$2 &&
2222
fmtopts=$3 &&
23-
shift 2 &&
2423

2524
test_expect_success "ls-tree '--format=<$format>' is like options '$opts $fmtopts'" '
2625
git ls-tree $opts -r HEAD >expect &&

0 commit comments

Comments
 (0)