diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-07-27 00:13:15 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-27 00:13:15 +0300 |
commit | 8ae477e2b4a50cb64864e2e0b6d16de35d7bc5cf (patch) | |
tree | 12ef943a6340c30983e642a20f8bf0da095999fd /t | |
parent | 89672f14d52ebe5001ccf0bd44a11355817cc262 (diff) | |
parent | 991c552916d3c8fa464acfca135b4235e11792bf (diff) |
Merge branch 'rs/ls-tree-no-full-name-fix'
Command line parser fix.
* rs/ls-tree-no-full-name-fix:
ls-tree: fix --no-full-name
Diffstat (limited to 't')
-rwxr-xr-x | t/t3101-ls-tree-dirname.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t3101-ls-tree-dirname.sh b/t/t3101-ls-tree-dirname.sh index 217006d1bf..5af2dac0e4 100755 --- a/t/t3101-ls-tree-dirname.sh +++ b/t/t3101-ls-tree-dirname.sh @@ -154,6 +154,14 @@ EOF test_output ' +test_expect_success 'ls-tree --no-full-name' ' + git -C path0 ls-tree --no-full-name $tree a >current && + cat >expected <<-EOF && + 040000 tree X a + EOF + test_output +' + test_expect_success 'ls-tree --full-tree' ' ( cd path1/b/c && |