]> git.ipfire.org Git - thirdparty/git.git/commit
diff: replace --staged with --cached in t1092 tests
authorLessley Dennington <lessleydennington@gmail.com>
Mon, 6 Dec 2021 15:55:59 +0000 (15:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Dec 2021 17:55:06 +0000 (09:55 -0800)
commit338e2a9acc801ed4c5153b926579e7bea55a0be9
tree47f6edc0fa226a8e81b2a2b0426f712dfb2745d2
parent44c7e62e51e504c060844360fc56b613cfc1beea
diff: replace --staged with --cached in t1092 tests

Replace uses of the synonym --staged in t1092 tests with --cached (which
is the real and preferred option). This will allow consistency in the new
tests to be added with the upcoming change to enable the sparse index for
diff.

Signed-off-by: Lessley Dennington <lessleydennington@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1092-sparse-checkout-compatibility.sh