Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/perf/p8020-last-modified.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / perf / p8020-last-modified.sh` 22 lines ยท 402 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='last-modified perf tests' 4 . ./perf-lib.sh 5 6 test_perf_default_repo 7 8 test_perf 'top-level last-modified' ' 9 git last-modified HEAD 10 ' 11 12 test_perf 'top-level recursive last-modified' ' 13 git last-modified -r HEAD 14 ' 15 16 test_perf 'subdir last-modified' ' 17 git ls-tree -d HEAD >subtrees && 18 path="$(head -n 1 subtrees | cut -f2)" && 19 git last-modified -r HEAD -- "$path" 20 ' 21 22 test_done