summaryrefslogtreecommitdiff
path: root/t/t6006-rev-list-format.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-05-08 15:01:46 -0400
committerJunio C Hamano <gitster@pobox.com>2023-05-08 14:50:28 -0700
commita9ea5296b772b795be1be112e98ff02c95cbe639 (patch)
tree099715f7ed487eab03a19764d2e0d5199132d712 /t/t6006-rev-list-format.sh
parentb1c8ac3996e25c5764431f5ede122684474415c5 (diff)
downloadgit-a9ea5296b772b795be1be112e98ff02c95cbe639.tar.gz
t7001: use "ls-files --format" instead of "cut"
Since ls-files recently learned a "--format" option, we can use that rather than asking for all of "--stage" and then pulling out the bits we want with "cut". That's simpler and avoids two extra processes (one for cut, and one for the subshell to hold the intermediate result). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6006-rev-list-format.sh')
0 files changed, 0 insertions, 0 deletions