Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-07-27 00:13:15 +0300
committerJunio C Hamano <gitster@pobox.com>2023-07-27 00:13:15 +0300
commit8ae477e2b4a50cb64864e2e0b6d16de35d7bc5cf (patch)
tree12ef943a6340c30983e642a20f8bf0da095999fd /t
parent89672f14d52ebe5001ccf0bd44a11355817cc262 (diff)
parent991c552916d3c8fa464acfca135b4235e11792bf (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-xt/t3101-ls-tree-dirname.sh8
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 &&