Skip to content

Conversation

@yuja
Copy link
Contributor

@yuja yuja commented Dec 9, 2025

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes

@yuja yuja requested a review from a team as a code owner December 9, 2025 11:42
@yuja yuja force-pushed the push-lowrnvqostxq branch from e7fa478 to 750646a Compare December 9, 2025 21:00
yuja added 3 commits December 10, 2025 20:54
As I'm going to deprecate git_head()/git_refs() functions, we'll need an
alternative command to debug view.git_head() movement. I think "git colocation
status" is a good place to print this kind of information.

We don't use "debug object view" because I expect git_head and git_refs will be
removed from the view object.
While these two are stored in view objects, we intentionally ignore them when
undoing. This means that these fields don't have to be tracked by
view/operation. I think we can move them away to GitBackend-specific data.

We could provide git_head()/git_refs() that load data from GitBackend, but I
don't think these template/revset functions are useful. I've never used them
except for the git_head() template function, and its use case was to see whether
the repository is colocated or not.
@yuja yuja force-pushed the push-lowrnvqostxq branch from 750646a to 24e2326 Compare December 10, 2025 12:02
@yuja yuja added this pull request to the merge queue Dec 10, 2025
Merged via the queue into main with commit 9620b00 Dec 10, 2025
31 checks passed
@yuja yuja deleted the push-lowrnvqostxq branch December 10, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants