summaryrefslogtreecommitdiff
path: root/pkt-line.h
diff options
context:
space:
mode:
authorIlya Kantor <iliakan@gmail.com>2017-09-23 07:53:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-09-24 01:13:28 (GMT)
commit9c03caca2c40870cf7f879d18e55db1c94877cd5 (patch)
tree499fd4763c3236f661101ed5c0c4c69278749f1e /pkt-line.h
parent3d9c5b5c4461957fbbc0479e037990db04ebb740 (diff)
downloadgit-9c03caca2c40870cf7f879d18e55db1c94877cd5.zip
git-9c03caca2c40870cf7f879d18e55db1c94877cd5.tar.gz
git-9c03caca2c40870cf7f879d18e55db1c94877cd5.tar.bz2
userdiff: fix HTML hunk header regexp
Current HTML header regexp doesn't match headers without attributes. So it fails to match <h1>...</h1>, while <h1 class="smth">...</h1> matches. Make attributes optional to fix this. The regexp is still far from perfect, but now it at least handles the common case. Signed-off-by: Ilya Kantor <iliakan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pkt-line.h')
0 files changed, 0 insertions, 0 deletions