mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-05 00:03:15 +01:00
fix(result-codes): POLICY_SOURCE_UNAVAILABLE names an unreadable committed pin file
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
55b73dbdc7
commit
4cfe49fd94
1 file changed
+1
-1
+1
-1
@@ -165,7 +165,7 @@ export const RESULT_CODES = {
|
||||
// C-stamp (plan C1, C2, C3, C5, C7): ship policy, restamp, tree receipt, ship receipt.
|
||||
POLICY_SOURCE_UNAVAILABLE: {
|
||||
anchor: 'policy-source-unavailable',
|
||||
summary: 'policy source unavailable: origin/<base> is not a resolvable commit, so the reviewed .gstack/ship-policy.json cannot be read',
|
||||
summary: 'policy source unavailable: origin/<base> is not a resolvable commit, or a pin file committed on it cannot be read, so the reviewed .gstack/ship-policy.json (or .gstack/pregate.json) cannot be read',
|
||||
fix: 'git fetch origin <base> --depth=1 (the working-tree copy is never used silently)',
|
||||
},
|
||||
POLICY_INVALID: {
|
||||
|
||||
Reference in new issue
Block a user