Skip to content

gvfs health: distinguish directory-scoped status from repository status - #2078

Merged
tyrielv merged 1 commit into
masterfrom
johnc/gvfs-health-directory-clarification
Aug 6, 2026
Merged

gvfs health: distinguish directory-scoped status from repository status#2078
tyrielv merged 1 commit into
masterfrom
johnc/gvfs-health-directory-clarification

Conversation

@huskydawg

Copy link
Copy Markdown
Member

The health verb always labeled its final line 'Repository status: ...' even when the calculation was scoped to a subdirectory (via -d or when run from a subdirectory of the enlistment). That could report a highly hydrated subtree as 'Highly Hydrated' at the repository level, which is misleading.

When TargetDirectory is non-empty, print 'Directory status (): ...' instead and add a hint suggesting the user re-run from the repo root for the full-repo status. Update the functional test regex to accept either label.

The health verb always labeled its final line 'Repository status: ...' even when the calculation was scoped to a subdirectory (via -d or when run from a subdirectory of the enlistment). That could report a highly hydrated subtree as 'Highly Hydrated' at the repository level, which is misleading.

When TargetDirectory is non-empty, print 'Directory status (<path>): ...' instead and add a hint suggesting the user re-run from the repo root for the full-repo status. Update the functional test regex to accept either label.
@tyrielv
tyrielv merged commit 53e8ad4 into master Aug 6, 2026
39 checks passed
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