I've tried at some point to feed the output of pijul log --hash-only to another pijul command that was expecting hashes. This failed, however, because in --hash-only mode pijul also prints out repo's id and adds a colon-separated index after each patch's hash. Is there any reason in particular to do this? Normally when I type --hash-only, I really want just hashes.
pijul log --hash-only
The modifications to remove this are fairly simple, but I'd prefer to know the rationale behind current behaviour before I chop it off.
No, don't do that, it's an essential part of the protocol. Piping the output of that command into grep (to remove the first line) and sed will do what you want.
Got it, thanks.