summaryrefslogtreecommitdiff
path: root/pager.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2015-09-02 14:42:25 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-03 14:12:40 -0700
commit0ea306ef1701d6f42e74d3c33addfcd630248904 (patch)
tree26fb1ee5833d5dba0e1da2c6b4b03a74d413c3fb /pager.c
parentsubmodule: rewrite `module_list` shell function in C (diff)
downloadtgif-0ea306ef1701d6f42e74d3c33addfcd630248904.tar.xz
submodule: rewrite `module_name` shell function in C
This implements the helper `name` in C instead of shell, yielding a nice performance boost. Before this patch, I measured a time (best out of three): $ time ./t7400-submodule-basic.sh >/dev/null real 0m11.066s user 0m3.348s sys 0m8.534s With this patch applied I measured (also best out of three) $ time ./t7400-submodule-basic.sh >/dev/null real 0m10.063s user 0m3.044s sys 0m7.487s Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pager.c')
0 files changed, 0 insertions, 0 deletions