diff options
author | Yang Zhao <yang.zhao@skyboxlabs.com> | 2019-12-13 15:52:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-15 12:53:40 -0800 |
commit | ce425eb4e16e5038ffc322cbafc80d641b0ad5eb (patch) | |
tree | f44e17fb001d8d1b99fae4658d3242c056d8624d /t/t8005 | |
parent | git-p4: use dict.items() iteration for python3 compatibility (diff) | |
download | tgif-ce425eb4e16e5038ffc322cbafc80d641b0ad5eb.tar.xz |
git-p4: simplify regex pattern generation for parsing diff-tree
It is not clear why a generator was used to create the regex used to
parse git-diff-tree output; I assume an early implementation required
it, but is not part of the mainline change.
Simply use a lazily initialized global instead.
Signed-off-by: Yang Zhao <yang.zhao@skyboxlabs.com>
Reviewed-by: Ben Keene <seraphire@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8005')
0 files changed, 0 insertions, 0 deletions