diff options
| author | René Scharfe <l.s.r@web.de> | 2017-08-25 21:06:28 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-08-25 14:06:09 -0700 |
| commit | 0db3dc75f30239aa3b36071c7b9ff21c16ba449a (patch) | |
| tree | 11e43bd7bdc21c097edfd8cf8b20ff2c186fa5ec /builtin/commit.c | |
| parent | apply: check date of potential epoch timestamps first (diff) | |
| download | git-0db3dc75f30239aa3b36071c7b9ff21c16ba449a.tar.gz git-0db3dc75f30239aa3b36071c7b9ff21c16ba449a.zip | |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
