-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This currently somewhat mirrors what qlop offers, as an MVP to get a feel of the implementation. I initially wrote a single-pass version (droping previous table rows when encountering a command), but the two-pass version is fast enough that `--lastmerge` is about as fast as `--last`, and offers more flexibility. Tentative todo: * Allow `--lastmerge <N>` * Move into `--from '1 command'` (simpler and more consistent) * Optionaly ignore non-merge commands (qlop always/only does that, but it's a failible heuristic) * Investigate `--to` support * Move code into get_hist (DRY, and optimization opportunities) * Test and document
- Loading branch information
1 parent
2c43167
commit 4ac3beb
Showing
5 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters