You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
I've had this one stewing on my backburner for a while, as it's an edge case with the potential to be deep rabbit hole full of sad.
In Masterminds/glide#635 (comment), some glide users noticed an issue where cloning/checking out a repository containing .gitattributes files could result in a dirty working copy. glide blew up in some ugly ways. The issue hasn't been raised in dep-land yet, but we should get out ahead of this case if we can. Our code definitely assumes right now that the working copy of [git] repositories in the source cache is always clean.
I'd strongly prefer we find some reasonable approximation of correctness that's not unduly punitive towards the use of .gitattributes files, but keeps us from having to dive down the rabbit hole. To get a sense of what that might look like, though, we probably need a bit of research on exactly what circumstances (combinations of .gitattrifbutes and platform) can result in insta-dirty working copies.
I'm hoping somebody wants to do the research here, as this is outside my bandwidth to tackle right now 😄