retr0h / gilt

A GIT layering tool.
https://retr0h.github.io/gilt/
MIT License
21 stars 5 forks source link

Feature request: no-commands mode #205

Closed 0xDEC0DE closed 4 months ago

0xDEC0DE commented 4 months ago

Story time!

We have devised a workflow for vendoring in changes that goes something like:

When absorbing new versions from upstream, we do a three-way merge of "old upstream", "new upstream", and our localizations. To do this with Gilt, it is necessary to temporarily comment out the post-commands from our Giltfile.yaml to get a "pristine" copy.

Gilt could help with this by providing a command-line switch that only runs the file overlay steps and avoids running post-commands.

TL;DR: we'd like a --no-commands switch, or something similar.

retr0h commented 4 months ago

Sounds like a reasonable suggestion.

retr0h commented 4 months ago

Implemented in #207 ❤️ @0xDEC0DE