Closed ekluzek closed 1 month ago
Is there an issue here or are you just complaining that I tell you that you have untracked files? You can add a .gitignore to your repo to ignore those files. You can use the --force option as documented above. I don't see anything broken here.
Fixed by #40
@jedwards4b the fix you brought in, fixes the behavior that I wanted. Thank you.
I've fine with the warning about untracked files. I just wanted it to still do updates even with untracked files in place. And now it's working how I wanted it to. And similar to the behavior I relied on in manage_externals.
Closing now.
I often have untracked files in sub modules, that I want to be left alone (such as cases under cime/scripts).
For example in ctsm5.2.007:
NOTE: An update gives a similar message and doesn't run. This is true even if I use the "--force" option as listed in option (2).
Files within a submodule that are modified I DO always want to be aware of and handle as in option (1). But, sometimes I want those untracked files around for a variety of reasons.