ESMCI / git-fleximod

MIT License
2 stars 3 forks source link

Issue with status for a tag when two tags match the same hash #55

Open ekluzek opened 3 months ago

ekluzek commented 3 months ago

I'm seeing this in my CTSM PR

https://github.com/ESCOMP/CTSM/pull/2545

with

git-fleximod 0.7.8

Where I have .gitmodules pointing to ccs_config_cesm1.0.0 (which is identical to ccs_config_cesm0.0.113)

So status reports as follows...

/bin/git-fleximod status ccs_config
s           ccs_config ccs_config_cesm0.0.113 69a958581ecd2d32ee9cb1c38bcd3847b8b920bf is out of sync with .gitmodules ccs_config_cesm1.0.0
    testfails = 1, local mods = 0, needs updates 1

I'd just like it to NOT report this as being out of sync.

ekluzek commented 3 months ago

Note, I also get this in cesm3_0_alpha02a (which has 0.7.9) for cime:

s           ccs_config ccs_config_cesm0.0.113 69a958581ecd2d32ee9cb1c38bcd3847b8b920bf is out of sync with .gitmodules ccs_config_cesm1.0.0
                 share at tag share1.1.2
s                 cime cime6.0.251 fcb9c6ec1e15f2f33995cf247aef3f8ef9f121eb is out of sync with .gitmodules cime6.1.0