Sublime Forum

Sublime Merge not respecting --assume-unchanged

#1

We have a file in our repo that needs to be there (so can’t be ,gitignored) but some devs like to tweak settings in it and leave them local only. To do this we use the git update-index --assume-unchanged <file> command, but Sublime Merge doesn’t seem to be respecting that command. My changes to this file are not showing up when I run git status and the changes remain unstaged when I commit all, but sublime merge shows the file as modified

Steps to reproduce

Tell git to ignore changes to a tracked file with git update-index --assume-unchanged <file>
Modify the file
run git status and note the lack of changes
View working tree in Sublime Merge and note the file is flagged as modified

2 Likes

#2

Came here to report the same issue. Makes it pretty frustrating to use this GUI in this scenario because you’re always having to visually work around the file in question.

0 Likes

#3

This is fixed in the latest release, thank you!

0 Likes