elasticdog / transcrypt

transparently encrypt files within a git repository
MIT License
1.48k stars 104 forks source link

Ensure Git index is up-to-date before dirty repo check #37 #109

Closed jmurty closed 3 years ago

jmurty commented 3 years ago

Should fix/avoid failures seen in CI systems where the repo seems dirty when it really isn't.

elasticdog commented 3 years ago

This got me thinking...I wonder if this technique could replace some of the times when we "touch all encrypted files to prevent stale stat info"?

andreineculau commented 3 years ago

This got me thinking...I wonder if this technique could replace some of the times when we "touch all encrypted files to prevent stale stat info"?

👏 I thought the exact same thing! I never got to test it though, but based on how I understand this to work, it should do the job just fine.

jmurty commented 3 years ago

Getting this moving, it should be a pretty safe change even though we haven't receive direct feedback that it fixes the problem