abra recipe release - show diff / don't git add .
#466
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've heard that one could easily add unwanted files to a recipe in the process of recipe upgrade:
e.g.
I guess that
abra recipe releaseexecutes agit add .at this point?I'd suggest to rather do smth like
git add compose.yml(or is it possible that.overwrite.ymlfiles have updated labels?!) or show agit diffbefore.Maybe this is also a good point to review the upgrade and write last-minute upgrade notes :D
Yeh right, good to address this.
Yep 🙃
a7ce71d6cf/cli/recipe/release.go (L247)Hmmm it's hard to know what is and isn't being hacked on at commit time. But perhaps we could filter on only "dirty" files, meaning, stuff Git already knows about? And you choose to commit new files yourself, e.g. a new
releasesdirectory? That might leave people wondering why some stuff gets committed and other stuff not... so could be a documentation issue also.Looking at this again, I think
git diffouput would be ideal for this!