diff options
author | 2017-08-25 21:06:28 +0200 | |
---|---|---|
committer | 2017-08-25 14:06:09 -0700 | |
commit | 0db3dc75f30239aa3b36071c7b9ff21c16ba449a (patch) | |
tree | 11e43bd7bdc21c097edfd8cf8b20ff2c186fa5ec /fast-import.c | |
parent | apply: check date of potential epoch timestamps first (diff) | |
download | tgif-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