From: Stefan Sperling Subject: Re: Incompatible git repository To: Christian Weisgerber Cc: gameoftrees@openbsd.org Date: Wed, 3 Feb 2021 21:46:31 +0100 On Wed, Feb 03, 2021 at 05:31:27PM +0100, Christian Weisgerber wrote: > Stefan Sperling: > > > I assume these weird tags were created with very old versions of Git. > > This patch allows parsing of such tags. They will show up in 'got tag -l' > > with a timestamp of 1 Jan 1970. I don't want to second-guess the date. > > Hmm, ok... ... Should a time of 0 be explicitly treated as invalid? > I.e., get_datestr() could return NULL and printing of the date could > be skipped. Maybe, but I'd question whether the added code is worth the gain.