Re: [RFC/PATCH 0/2] Test the Git version string
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 14, 2013, 19:22 UTC
- Message-ID
- <7v8v4k6hp2.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1365949646-1988-1-git-send-email-philipoakley@iee.org>
Philip Oakley <philipoakley@iee.org> writes:
Show 6 quoted lines
> This patch series seeks to add tests for the version string format > and document it. > > The key questions to be answered are: > * should the test be inside t0000, or somewhere else? > * should the version string be limited to one line, <80 characters?
One line, perhaps, but I do not think any byte-limit is reasonable.
It is unreasonable to limit the form to X.Y.Z; after we hit Git 2.0, it is likely that we would go to two-decimals.
If the "parsing" is done for white/blacklist purposes, is there a need to straight-jacket the verison string format like this series?