author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 12 Apr 2010 23:25:28 +0000 (16:25 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 13 Apr 2010 04:45:17 +0000 (21:45 -0700) | ||
commit | e451d06bf39df35d1106ad9bde5e38505533d805 | |
tree | 9fe1f7b4015e3fa24f51eed98166edbb7df384a3 | tree | snapshot |
parent | 28de5b6b400fcdbd2d0665bc0cec7d7e4b813b43 | commit | diff |
tag.c: Parse tagger date (if present)
Just like with committer dates, we parse the tagger date into the
struct tag so its available for further downstream processing.
However since the tagger header was not introduced until Git 0.99.1
we must consider it optional. For tags missing this header we use
the default date of 0.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Just like with committer dates, we parse the tagger date into the
struct tag so its available for further downstream processing.
However since the tagger header was not introduced until Git 0.99.1
we must consider it optional. For tags missing this header we use
the default date of 0.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tag.c | diff | blob | history | |
tag.h | diff | blob | history |