Yesterday, I have pushed yesterday a first patch to introduce a new subcommand, that is show-dependencies. The goal is to output a .dot files which can be rendered with dot -Tpng for instance.
The first version of this subcommand takes the same arguments as pijul changes. My goal is to add several other way to use it, such as:
--hash <hash> to only print one patch and its direct dependencies
--hash <hash> --depth <x>, same as before, but recursively with x levels
Great! I’d prefer it without the --hash argument, so that pijul show-dependencies <hash> would show the dependencies of that patch. That would be consistent with pijul apply.
@pmeunier@flobec: I think you can merge @joeneeman patches before mine. I saw he has made some refactoring on how commands are implemented and I can adapt my code to that “new way” before my patch is merged.