summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-08-25 21:06:28 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-25 14:06:09 -0700
commit0db3dc75f30239aa3b36071c7b9ff21c16ba449a (patch)
tree11e43bd7bdc21c097edfd8cf8b20ff2c186fa5ec /fast-import.c
parentapply: check date of potential epoch timestamps first (diff)
downloadtgif-0db3dc75f30239aa3b36071c7b9ff21c16ba449a.tar.xz
apply: remove epoch date from regex
We check the date of epoch timestamp candidates already with starts_with(). Move beyond that part using skip_prefix() instead of checking it again using a regular expression. Also group the minutes part, so that we can access them using a substring match instead of using a magic number. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fast-import.c')
0 files changed, 0 insertions, 0 deletions