summaryrefslogtreecommitdiff
path: root/oidtree.c
diff options
context:
space:
mode:
authorLibravatar Joel Holdsworth <jholdsworth@nvidia.com>2021-12-16 13:46:16 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-16 14:06:35 -0800
commite665e98ec1d1558a55a3e7e5fd5e88d70396ec96 (patch)
tree02adfeb2df110900609c39445b3b62bb58d9e669 /oidtree.c
parentgit-p4: use with statements to close files after use in patchRCSKeywords (diff)
downloadtgif-e665e98ec1d1558a55a3e7e5fd5e88d70396ec96.tar.xz
git-p4: pre-compile RCS keyword regexes
Previously git-p4.py would compile one of two regular expressions for ever RCS keyword-enabled file. This patch improves simplifies the code by pre-compiling the two regular expressions when the script first loads. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'oidtree.c')
0 files changed, 0 insertions, 0 deletions