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
And then when I run it, I get a bunch of changes in my repository on several files that are outside of third_party/package. All of which appear to be differences in line endings. These changes don't exist outside of the branch that Copybara created and pushed up.
I'm wondering if the way Copybara detects changes when it pulls the destination repository is different or handled differently than the normal MacOS system does. But regardless, it seems like it should only be doing a git add third_party/package/ and ignore those things anyway.
The text was updated successfully, but these errors were encountered:
My guess would be that those deltas were introduced by your git CLI setup.
That's fair. I do have my git config set to core.autocrlf=input, so perhaps it's doing something like that.
I guess I'm still confused on why Copybara would handle it differently than at the system level. I'm assuming that Copybara respects the gitconfig? And then also why wouldn't it just add/commit/push the files that are explicitly intended to be added in the destination_files glob?
Something seem to be odd in the way that Copybara handles files in the destination repository. It's changing files that I wouldn't expect to change.
I've set up a workflow with a configuration like this:
And then when I run it, I get a bunch of changes in my repository on several files that are outside of
third_party/package
. All of which appear to be differences in line endings. These changes don't exist outside of the branch that Copybara created and pushed up.I'm wondering if the way Copybara detects changes when it pulls the destination repository is different or handled differently than the normal MacOS system does. But regardless, it seems like it should only be doing a
git add third_party/package/
and ignore those things anyway.The text was updated successfully, but these errors were encountered: