Skip to content

Conversation

@charles-zablit
Copy link
Contributor

@charles-zablit charles-zablit commented Nov 25, 2025

This patch adds the status command to update-checkout to quickly check the status of all the git repositories.

The status command prints the list of repositories with active changes (uncommitted, untracked and/or staged). This subcommand should help users determine if it's safe to run update-checkout --clone --reset-to-remote.

Examples

When some repositories have active changes:

> ./swift/utils/update-checkout status
The following repositories have active changes:
  - [swift] 1 active change
  - [llvm-project] 2 active changes

When no repository has active changes:

> ./swift/utils/update-checkout status
No repositories have active changes.

rdar://165437920

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/add-status-command branch from 4f051bd to b7c6fd1 Compare November 26, 2025 11:57
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit charles-zablit self-assigned this Nov 26, 2025
@charles-zablit charles-zablit added Windows Platform: Windows update-checkout Area → utils: the `update-checkout` script labels Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update-checkout Area → utils: the `update-checkout` script Windows Platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant