You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b06a835
Browse filesBrowse the repository at this point in the historyBrowse files
fix(remote): capture revision sources before the push changes refs
A push can update the tracking ref that another refspec uses as a
revision base. Looking up the source after the push can return a
different commit. The old lookup also omitted per-call Git settings
such as `GIT_NO_REPLACE_OBJECTS`.
Resolve explicit sources with the push environment before starting
Git. Prefer object IDs reported in update summaries. Leave the hash
unset if Git did not report it and the source could not be captured.
Skip capture when one-shot Git options are reserved for the push.
Regressions verify a combined tracking-ref update and snapshot,
per-call replacement settings, and one-shot options. The focused
push tests pass on the CLI and Gix backends.
Agent-Model: unknown
Copy file name to clipboardExpand all lines: doc/gix-backend.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -385,6 +385,7 @@ and predate the current fallback; they do not establish native coverage.
385
385
| Standalone discovery helpers | Native storage directories and gitfiles reopened at their canonical native Git directory | Rejected candidates and the same layout/environment guards as `Repo` opening; GIX-14 |
386
386
|`Repo.rev_parse`, `rev_parse` metadata queries | Revision lookup, common directory, object format, bare flag, worktree root, fixed `modules`/`COMMIT_EDITMSG` locations | Repository-format validation, other metadata paths, symlinked metadata leaves, message searches and describe forms; GIX-1/14/17/22 |
387
387
| Revision path/mode metadata | Native revision specification, including tree paths and index stages | Custom/sparse indexes, unsupported revision grammar or path normalization |
388
+
|`Remote.push` status | Managed revision lookup for explicit sources and exact reference lookup in the repository's default context | Git handles transport, abbreviated summary IDs, and exact reference checks with per-call environment overrides |
388
389
| Tree enumeration, `ls_tree`| Native tree entries with modes, names, and object IDs | Other command options; entries with modes Git canonicalizes or that do not round-trip through native tree encoding; GIX-36 |
389
390
| Reference object reads | One exact native lookup for direct, symbolic and absent references | Partial names and native decoding errors |
390
391
| Reference-name validation | Native full-name validation without opening a repository | Standalone names outside the native grammar; GIX-20 |
0 commit comments