Contents

About

This plugin highlights uncommitted changes to files tracked with Git, allows to navigate through the hunks and undo them.

Requirements

This plugin depends on libgit2, and obviously Geany (>= 1.25).

Installation

For detailed instructions, see the INSTALL file of the Geany-Plugins package this plugin is part of.

Usage

When loaded into Geany, this plugins adds markers in the markers margin. If the marker margin is not visible, they are displayed as line backgrounds.

When you point your mouse on a marker that indicates a changed or removed hunk, a tooltip pops up showing the original contents of that hunk.

To navigate through the hunks of the current file, you need to configure the plugin's Go to next hunk and Go to previous hunk keybindings in Geany's preferences dialog.

Hunks can also be undone by either setting a cursor at a line with a hunk and invoking the Undo hunk at the cursor position or by right-clicking in the editor where the hunk is located and selecting Undo Git hunk from the popup menu.

License

This plugin is distributed under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. You should have received a copy of the GNU General Public License along with Git Change Bar. If not, see <http://www.gnu.org/licenses/>.

Contact

You can email me at <ban(at)herbesfolles(dot)org>, and I may also be on the #geany channel on FreeNode, under the b4n nickname.

Bug reports and feature requests

To report a bug or ask for a new feature, please use the Geany-Plugins tracker on GitHub: https://github.com/geany/geany-plugins/issues

Docs for previous versions