ESMCI / git-fleximod

MIT License
2 stars 2 forks source link

Update .gitmodules based on current submodules #2

Closed jedwards4b closed 4 months ago

jedwards4b commented 5 months ago

So this would set fxtag and possibly url in .gitmodules based on the current submodule hashes. I can't call it update, that word is used.

jedwards4b commented 5 months ago

How about set-tags?

jedwards4b commented 4 months ago

A problem with this is that the current interface to the .gitmodules file will remove comments and indentation from the file when it overwrites, I want to write the update with minimal changes to the original file.

jedwards4b commented 4 months ago

I think that the current workflow circumvents the need for this change.