# Guard git quick actions for diverged and stale branch status · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/60111b2b912e8ebc9c21a6bac836b60cf8b75122)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 60111b2b912e8ebc9c21a6bac836b60cf8b75122

Requested commit: 60111b2b912e8ebc9c21a6bac836b60cf8b75122

Commit: 60111b2b912e8ebc9c21a6bac836b60cf8b75122

Tree: 1aa613aa16ce1c767e5bbb52a0b5b7c36660ba6f

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Guard git quick actions for diverged and stale branch status

- Disable the quick sync action when local and upstream branches have diverged
- Treat mismatched branch/status data as out-of-sync and refresh before enabling actions
- Update GitActionsControl logic tests for diverged branch behavior

Co-authored-by: codex <codex@users.noreply.github.com>

```

## Parents

- [1f17e9c429c4dad56762c60137436923b61cc499](https://git.cafe/pingdotgg/t3code/commit/1f17e9c429c4dad56762c60137436923b61cc499?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/60111b2b912e8ebc9c21a6bac836b60cf8b75122?format=markdown)
