All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project DOES NOT adhere to Semantic Versioning. Versioning is based on the willingness of the author to come up with any and stick to it.
- When running
git-bbb
withblame.ignoreRevsFile
Git option configured, the value of this option will be used as the default ignore revs path instead of the.git-blame-ignore-revs
default. git-bbb
will now disable the global Git configuration when runninggit blame
, to ensure thatblame.ignoreRevsFile
is fully controllable via mechanics outlined below.
- If the path configured via
blame.ignoreRevsFile
is not found,git-bbb
will preventgit blame
from using it, preventing the previously seen nasty traceback from happening. I.e.git-bbb
will happily accept this state of things, despitegit-blame
being normally unusable at this point.
- Fixed keybinding collision introduced in [v0.0.8]: scrolling document view is now done via ctrl+j & ctrl+k instead of J & K .
- Pressing P will now warp to the ancestor of the indicated commit.
- Keybindings for traveling between lines of the SHA under cursor are now H, L, K, and J
- Undo & redo functionality now behaves more in line with what the user would expect: cursor position is saved per browsed rev and restored going back or forth in browsing history.
- Search! / and ? will now trigger a vi-style searchbar that searches through the blame lines. N and n can be used to cycle through results.
- When browsing a file that is empty in the given revision, a placeholder text containing currently opened revision will show up.
- Browsing a file that is empty for the given revision will no longer lead to
an
IndexError
.
0.0.6 - 2022-05-25
- It is now possible to suspend
git-bbb
using ctrl+z
git-bbb
will now properly parse timezones west of Greenwich.
0.0.5 - 2022-05-24
- Added the keybindings for traveling between lines of the SHA under cursor:
- { - first,
- } - last,
- ] - next,
- [ - previous,
- Vi-style moves using numbers before navigation keys is now supported for moving cursor up & down.
- Attempting to warp onto a line with unstaged changes will warp onto current
HEAD
.
- The leftmost margin now draws lines towards other places where current sha is, instead of hinting down at the statusbar.
- Fixed issues with running
git-bbb
from a directory other than repository root. - Warping on a line near the end of the file will no longer raise
IndexError
. - Warping on a line with unstaged changes no longer raises an exception.
0.0.4 - 2022-05-17
- There's now a separate margin that shows current cursor position.
- Browser now highlights other lines from the currently indicated commit.
- Package metadata, most notably
requires-python
which will prevent installation under incompatible versions of Python.
- Code highlighting style has been changed to Monokai. This will be configurable in the future, but for now it is used as a sane default.
- Tabs will now be rendered using 4 spaces, instead of showing up as
^I
. This will be made configurable in the future. - Uncommitted lines will no longer show up with a "000..." SHA.
- Statusbar no longer shows the SHA of the commit - it was unnecessarily duplicated.
- Clicking on a line will now properly update the statusbar.
0.0.3 - 2022-05-15
- Statusbar now shows the summary of the indicated commit.
- S will run
git show
for the current line
- Git-bbb will show unstaged changes if
--rev
is not given. - Statusbar no longer extends above 1 line when browsing short files.
- Undo / redo will now go back to the line on which the cursor was after a warp.
0.0.2 - 2022-05-12
- A status bar that shows currently viewed rev.
- Undo/redo functionality, bound to u and ctrl++r keys, respectively.
0.0.1 - 2022-05-08
This is the first version of git-bbb
, with the most basic functionality
covered. The project has been in the works for a month now, many things are
still to be added.