fix(pulls): tolerate invalid stored review commit_id (#39849) (#39857)

Simple backport for #39849 to fix #39848
This commit is contained in:
wxiaoguang
2026-10-21 01:46:56 +08:00
committed by GitHub
parent 829b49c1ae
commit 5838cc8172
2 changed files with 9 additions and 3 deletions
+1
View File
@@ -93,6 +93,7 @@ const (
StderrPathSpec StderrPrefix = "fatal: pathspec"
StderrBadRevision StderrPrefix = "fatal: bad revision"
StderrNoSuchPath StderrPrefix = "fatal: no such path"
StderrBadObject StderrPrefix = "fatal: bad object "
StderrNoSuchRemote1 StderrPrefix = "fatal: no such remote" // git < 2.30, exit status 128
StderrNoSuchRemote2 StderrPrefix = "error: no such remote" // git >= 2.30. exit status 2