Skip to content

Ignore -dirty marker when checking local template status - #97

Merged
Ilyes512 merged 1 commit into
mainfrom
fix/local-template-dirty-phantom-update
Jul 16, 2026
Merged

Ignore -dirty marker when checking local template status#97
Ilyes512 merged 1 commit into
mainfrom
fix/local-template-dirty-phantom-update

Conversation

@Ilyes512

Copy link
Copy Markdown
Member

Summary

  • Fix local templates being perpetually reported as update: <same-commit> when the source working tree is dirty
  • CheckLocalSource now strips the transient -dirty git-describe suffix while the source stays on the saved commit; genuine updates (new commit or new tag on the same commit) are unaffected
  • Add tests for both transitions (clean→dirty and dirty→clean on the saved commit)
  • Document the behaviour in README and the architecture / template command docs

@Ilyes512
Ilyes512 merged commit 63d2a95 into main Jul 16, 2026
5 checks passed
@Ilyes512
Ilyes512 deleted the fix/local-template-dirty-phantom-update branch July 16, 2026 17:11
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.

1 participant