zeripath
0a23079485
Do not assume all 40 char strings are SHA1s ( #14624 )
...
GetCommit() assumes that all 40 char strings are SHA1s. This leads to an
error if you try to do a PR on a branch which is 40 characters long.
This PR attempts the SHA first - and if it fails will switch to using rev-parse.
Fix #14470
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-02-10 07:37:25 +00:00
..
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2021-02-07 21:04:58 +00:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 21:42:33 +01:00
2021-02-10 07:00:57 +00:00
2021-02-10 07:00:57 +00:00
2021-02-09 22:29:03 +00:00
2021-02-09 22:29:03 +00:00
2021-02-09 22:29:03 +00:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2021-02-03 20:06:13 +01:00
2021-02-03 20:06:13 +01:00
2021-02-03 20:06:13 +01:00
2021-02-03 20:06:13 +01:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2021-02-10 07:37:25 +00:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2021-02-03 20:06:13 +01:00
2020-12-20 00:30:39 +02:00
2020-12-17 22:00:47 +08:00
2020-12-22 21:44:25 +01:00
2020-12-17 22:00:47 +08:00
2020-12-25 11:59:32 +02:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-22 21:44:25 +01:00
2020-12-22 21:44:25 +01:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00
2020-12-17 22:00:47 +08:00