summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2017-08-25 21:06:28 +0200
committerJunio C Hamano <gitster@pobox.com>2017-08-25 14:06:09 -0700
commit0db3dc75f30239aa3b36071c7b9ff21c16ba449a (patch)
tree11e43bd7bdc21c097edfd8cf8b20ff2c186fa5ec /commit.c
parente4905019df568762d5f9ab66227eefcb32915b40 (diff)
downloadgit-0db3dc75f30239aa3b36071c7b9ff21c16ba449a.tar.gz
apply: remove epoch date from regexrs/apply-epoch
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 'commit.c')
0 files changed, 0 insertions, 0 deletions