y$un_ and Claude Opus 5.5
f8232a1067
fix(pregate): a --base that names a commit gets a branch fix, not an impossible fetch ( #3269 )
...
gstack-pregate --base <sha> refused with "fix: git fetch origin <sha>
--depth=1". That fetch can never create origin/<sha>: a short SHA fails
with "couldn't find remote ref", and a full SHA only reaches FETCH_HEAD.
A fork clone hits the same wall with --base upstream/main.
When origin/<base> does not resolve but <base> names a commit here and
no local branch (a SHA, a tag, another remote's ref), the refusal now
says --base takes a branch name on origin and suggests origin/HEAD's
branch. A local branch, or a name that resolves nowhere, keeps the
fetch fix: that is the unfetched or shallow checkout it repairs. Same
code, same exit 3, and pin files are still read only from the reviewed
origin/<base>.
Fixes #3269
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-19 18:34:31 +00:00
..
2026-10-01 11:57:48 -07:00
2026-10-17 17:19:52 +00:00
2026-10-17 16:47:50 +00:00
2026-10-16 22:00:32 +00:00
2026-10-19 18:34:31 +00:00
2026-10-17 03:32:16 +00:00
2026-10-17 03:32:16 +00:00
2026-10-05 01:29:54 +00:00
2026-10-14 17:36:39 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-13 15:17:39 +00:00
2026-09-22 14:57:52 -04:00
2026-10-16 23:09:23 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-13 15:17:39 +00:00
2026-10-17 02:40:45 +00:00
2026-10-10 23:26:08 +00:00
2026-10-11 03:10:06 +00:00
2026-10-04 07:58:41 -07:00
2026-10-17 03:32:16 +00:00
2026-10-02 11:11:00 -07:00
2026-09-06 08:54:25 -07:00
2026-10-11 19:09:12 +00:00
2026-09-14 14:32:45 -07:00
2026-10-08 08:00:08 +00:00
2026-10-16 22:00:32 +00:00
2026-10-11 18:16:33 +00:00
2026-10-07 23:29:05 +00:00
2026-06-14 11:40:57 -07:00
2026-08-15 11:42:19 -07:00
2026-10-11 03:10:06 +00:00
2026-10-18 02:51:19 +00:00
2026-09-08 22:40:22 -07:00
2026-09-08 22:40:22 -07:00
2026-10-01 13:55:16 -07:00
2026-10-17 02:40:45 +00:00
2026-09-08 22:40:22 -07:00
2026-09-08 22:40:22 -07:00
2026-10-17 02:10:12 +00:00
2026-10-17 02:10:12 +00:00
2026-10-01 11:57:48 -07:00
2026-09-06 08:54:25 -07:00
2026-10-19 07:26:49 +00:00
2026-10-17 02:40:45 +00:00
2026-10-17 02:40:45 +00:00
2026-10-11 03:10:06 +00:00
2026-09-08 22:40:22 -07:00
2026-09-14 15:14:58 -07:00
2026-08-24 08:55:58 -07:00
2026-10-18 19:26:19 +00:00
2026-10-18 19:26:19 +00:00
2026-10-17 02:40:45 +00:00
2026-10-11 19:09:12 +00:00
2026-10-16 22:00:32 +00:00
2026-08-16 19:34:41 -07:00
2026-10-04 07:58:41 -07:00
2026-10-01 11:57:48 -07:00
2026-10-04 07:58:41 -07:00
2026-08-15 22:20:30 -07:00
2026-10-07 23:29:05 +00:00
2026-06-08 06:20:58 -07:00
2026-10-01 11:57:48 -07:00
2026-10-02 11:11:00 -07:00
2026-10-07 23:29:05 +00:00
2026-10-17 03:32:16 +00:00
2026-10-17 02:40:45 +00:00
2026-06-14 11:40:57 -07:00
2026-10-16 23:09:23 +00:00
2026-08-15 09:37:04 -07:00
2026-10-11 03:10:06 +00:00
2026-10-04 07:58:41 -07:00
2026-10-11 19:09:12 +00:00
2026-10-12 13:17:02 -07:00
2026-10-08 08:00:08 +00:00
2026-10-08 08:00:08 +00:00
2026-10-08 08:00:08 +00:00
2026-10-08 08:00:08 +00:00
2026-10-08 08:00:08 +00:00
2026-10-08 08:00:08 +00:00
2026-10-08 08:00:08 +00:00
2026-10-11 00:32:15 +00:00
2026-10-11 19:09:12 +00:00
2026-10-11 18:16:33 +00:00
2026-10-11 00:32:15 +00:00
2026-10-11 00:32:15 +00:00
2026-10-14 17:36:39 +00:00
2026-10-11 16:48:11 +00:00
2026-10-16 23:09:23 +00:00
2026-10-13 21:31:07 +00:00
2026-10-17 02:10:12 +00:00
2026-10-18 00:37:43 +00:00
2026-10-01 11:57:48 -07:00
2026-10-16 22:00:32 +00:00
2026-10-17 00:06:43 +00:00
2026-10-18 01:54:14 +00:00
2026-10-02 11:11:00 -07:00
2026-10-18 06:03:18 +00:00
2026-10-19 10:29:44 +00:00
2026-10-17 03:32:16 +00:00
2026-10-10 23:26:08 +00:00
2026-10-17 00:41:41 +00:00
2026-10-16 22:00:32 +00:00
2026-10-17 04:36:00 +00:00
2026-10-13 15:38:41 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-19 10:29:44 +00:00
2026-10-17 03:32:16 +00:00
2026-10-17 03:32:16 +00:00
2026-10-13 15:17:39 +00:00
2026-10-11 00:32:15 +00:00
2026-10-17 02:40:45 +00:00
2026-06-07 06:51:10 -07:00
2026-10-17 03:32:16 +00:00
2026-10-03 18:49:34 -07:00
2026-08-16 09:53:31 -07:00
2026-10-03 18:49:34 -07:00
2026-10-18 06:03:18 +00:00
2026-10-04 07:58:41 -07:00
2026-08-15 09:37:04 -07:00