Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | signature: distinguish +0000 and -0000 UTC offsets | Henry Kleynhans | 2017-11-12 | 1 | -0/+27 |
| | | | | | | | | | | | | | | Git considers '-0000' a valid offset for signature lines. They need to be treated as _not_ equal to a '+0000' signature offset. Parsing a signature line stores the offset in a signed integer which does not distinguish between `+0` and `-0`. This patch adds an additional flag `sign` to the `git_time` in the `signature` object which is populated with the sign of the offset. In addition to exposing this information to the user, this information is also used to compare signatures. /cc @pks-t @ethomson | ||||
* | Introduce `git_signature_from_buffer`ethomson/signature_from_buffer | Edward Thomson | 2016-04-28 | 1 | -0/+13 |
| | | | | | Allow users to construct a signature from the type of signature lines that actually appear in commits. | ||||
* | signature: Strip crud just like Git does | Vicent Marti | 2015-10-21 | 1 | -0/+7 |
| | |||||
* | signature: don't allow empty emailscmn/signature-empty-email | Carlos MartÃn Nieto | 2014-09-10 | 1 | -2/+2 |
| | | | | | | A signature is made up of a non-empty name and a non-empty email so let's validate that. This also brings us more in line with git, which also rejects ident with an empty email. | ||||
* | Rename tests-clar to tests | Ben Straub | 2013-11-14 | 1 | -0/+81 |