For those who are curious workflow above could be without --latest
:
$ pijul fork feature1
$ pijul channel switch feature1
$ vim src/main src/io.c
$ pijul record -am"implementation of feature1"
Hash: QHJU6QWIDWVN6HU3OGKBHZGHXNQ6PSI3353SULKFIHH7R42VNDAAC
$ pijul apply QHJU6QWIDWVN6HU3OGKBHZGHXNQ6PSI3353SULKFIHH7R42VNDAAC --channel main
$ pijul channel switch main
$ pijul channel delete feature1
$
Coming from git, I would expect this function in pijul log -- <paths>
with the benefit of showing the last N patches and descriptive context.
6U42MTEZTINWUU2KLJLQW33ZBZXKTHPTF6TMEG56TO642CQDZQMQC
Hi! Thanks for the suggestion, I just fixed pijul log -- <paths>
, which was broken and slow (because it was building a “filter” datastructure instead of checking lazily).
Idea, give a user ability to find the latest hash described a file, possible pseudo workflow: