Browse Source
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>tags/v1.15.0-dev
zeripath
4 years ago
committed by
GitHub
1 changed files with 15 additions and 11 deletions
Loading…
Reference in new issue