docs(pijul): document ordered unique feature history commands

Chasesomero
Mar 12, 2026, 9:57 PM
RFV7BRABMSYUMWW4OCJHFWJE5D5W7XYY7H5NRBYLNHT66FB43JZQC

Dependencies

  • [2] XSOOHSO4 docs(pijul): add channel merge and unmerge workflow guide

Change contents

  • edit in PIJUL_FEATURE_CHANNEL_WORKFLOWS.md at line 169
    [2.5070]
    [2.5070]
    ```
    This works well for set subtraction, but it sorts the hashes and therefore loses the feature channel's original log order.
    ### Print the feature-only hashes while preserving feature-channel order
    This filters the ordered hash list from `feature-login` against the baseline channel without sorting the feature side:
    ```bash
    grep -Fvx -f <(pijul log --channel mainer-main --hash-only) \
    <(pijul log --channel feature-login --hash-only)
    ```
    ### Print the feature-only messages while preserving feature-channel order
    If you want a compact "what happened on this feature?" view, keep the ordered hashes and turn each one into its message:
    ```bash
    grep -Fvx -f <(pijul log --channel mainer-main --hash-only) \
    <(pijul log --channel feature-login --hash-only) \
    | while read -r h; do
    pijul change "$h" | sed -n 's/^message = "\(.*\)"$/\1/p'
    done
  • edit in PIJUL_FEATURE_CHANNEL_WORKFLOWS.md at line 193
    [2.5074]
    [2.5074]
    If you want both the hash and the message:
  • edit in PIJUL_FEATURE_CHANNEL_WORKFLOWS.md at line 196
    [2.5075]
    [2.5075]
    ```bash
    grep -Fvx -f <(pijul log --channel mainer-main --hash-only) \
    <(pijul log --channel feature-login --hash-only) \
    | while read -r h; do
    printf '%s ' "$h"
    pijul change "$h" | sed -n 's/^message = "\(.*\)"$/\1/p'
    done
    ```