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

Simple backport for #39849 to fix #39848
This commit is contained in:
wxiaoguang authored and GitHub committed 2026-10-21 01:46:56 +08:00
1 parent 829b49c1ae
commit 5838cc8172
2 files changed
+9 -3

No files matched your search

+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