wxiaoguang 83bb3cf86a
[gitea] Refactor parseSignatureFromCommitLine (#29054)
Replace #28849. Thanks to @yp05327 for the looking into the problem.
Fix #28840

The old behavior of newSignatureFromCommitline is not right. The new
parseSignatureFromCommitLine:

1. never fails
2. only accept one format (if there is any other, it could be easily added)

And add some tests.

(cherry picked from commit a24e1da7e9e38fc5f5c84c083d122c0cc3da4b74)
2024-02-10 10:53:43 +01:00
..
2023-12-19 09:29:05 +00:00
2023-04-17 11:37:23 +08:00
2023-07-07 05:31:56 +00:00
2024-02-05 13:33:58 +01:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00
2024-02-05 16:09:42 +01:00
2024-02-05 16:09:42 +01:00