summaryrefslogtreecommitdiff
path: root/t/t4114-apply-typechange.sh
diff options
context:
space:
mode:
authorLibravatar Roger Strain <rstrain@swri.org>2018-10-12 08:52:18 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-12 23:28:32 +0900
commit19ad68d95d6f8104eca1e86f8d1dfae50c7fb268 (patch)
tree90fba2d54c3c51ec58d7c4eddf09dc0d2af79ce0 /t/t4114-apply-typechange.sh
parentsubtree: improve decision on merges kept in split (diff)
downloadtgif-19ad68d95d6f8104eca1e86f8d1dfae50c7fb268.tar.xz
subtree: performance improvement for finding unexpected parent commits
After testing a previous patch at larger scale, a performance issue was detected when using git show to locate parent revisions, with a single run of the git show command taking 2 seconds or longer in a complex repo. When the command is required tens or hundreds of times in a run of the script, the additional wait time is unaccepatable. Replacing the command with git rev-parse resulted in significantly increased performance, with the command in question returning instantly. Signed-off-by: Roger Strain <rstrain@swri.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4114-apply-typechange.sh')
0 files changed, 0 insertions, 0 deletions