Skip to content

Conversation

PocketSquirrl
Copy link

@PocketSquirrl PocketSquirrl commented Sep 15, 2025

Git commands that don't modify the work tree don't trigger yadm updates
E.g. running yadm status doesn't update any alt files

What does this PR do?

My alt files got reloaded with every git command. So I searched for the reason and found the open TODO and tried to fix it.
I'm not perfectly familiar with bash syntax, so I'll happily implement any suggetions :)

What issues does this PR fix or reference?

#355

Previous Behavior

Every time you did any git command (e.g. git status) all of the alt files got reloaded

New Behavior

Only git commands that change the work tree reload any files.

Have [tests][1] been written for this change?

No

Have these commits been [signed with GnuPG][2]?

Yes

Git commands that don't modify the work tree don't trigger yadm updates
E.g. running `yadm status` doesn't update any alt files
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