Replies: 1 comment
-
That's the plan! In my assessment, we would be able to reuse the parser, but probably not the evaluator (see quark-zju/gitrevset#1, quark-zju/gitrevset#2). Originally, I was trying to integrate directly with The place to add a call to evaluate a revset would be in Lines 531 to 560 in 279e754 It'll require some refactoring since current it operates on a list of OIDs instead of individual OIDs (for historical reasons), and it returns a |
Beta Was this translation helpful? Give feedback.
-
It looks like git-branchless already has a dependency on https://github.com/quark-zju/gitrevset
Allowing revset expressions to be used as values to args/flags that accept commits would be nice.
e.g. being able to do
git hide descendants(abcd1234)
would be handyBeta Was this translation helpful? Give feedback.
All reactions