Skip to content
Snippets Groups Projects
Commit a1980c4e authored by Anders Kaseorg's avatar Anders Kaseorg Committed by Junio C Hamano
Browse files

apply: Recognize epoch timestamps with : in the timezone

Some patches have a timezone formatted like ‘-08:00’ instead of
‘-0800’ (e.g. http://lwn.net/Articles/131729/

), so git apply would
fail to recognize the epoch timestamp of deleted files and would
create empty files instead.  Teach it to support both formats, and add
a test case.

Signed-off-by: default avatarAnders Kaseorg <andersk@mit.edu>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 87b50542
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment