The sound distributed version control system

#353 [Feature request] Filter log by prefixes.

Opened by unidual on February 21, 2021 Feature request
unidual on February 21, 2021

E.g.

% pijul log -- <PATH>

would only show changes affecting PATH (file or directory).

BTW right now there is an error message that advice to use the very syntax that was entered!

% pijul log -- README.md
error: Found argument 'README.md' which wasn't expected, or isn't valid in this context

If you tried to supply `README.md` as a PATTERN use `-- README.md`
pmeunier added tag Feature request on April 29, 2021
ammkrn added a change on May 25, 2021
3K2FVFHEU5R4HBCGYR5QTAJ33MZ3GVMCGHWT2GFNJPLE74AV53LAC
ammkrn on May 25, 2021

Basic support for this added in 3K2FVF.

This is invoked as pijul log -- <file_or_dir>*. Directory filters are recursive, so passing a filter my_dir will show the logs for bothmy_dir and for its contents. In the future you may want to support more fancy glob patterns, but for now this seems to work pretty well.

ammkrn added a change on June 2, 2021
VFNKNHZRWSXIBPVBPER2NFD2FGRMKLZS7MAMWF7H6IAOSY6JMQEAC