Skip to content

Releases: jisaacks/GitGutter

1.7.11

28 Jan 16:01
Compare
Choose a tag to compare

Fix:

  • Settings diff algorithm getter fix
  • Linter typo in diff popups factory
  • Clear import caches upon module reloading

Internal:

  • Remove deprecated mdpopups allow_code_wrap argument

1.7.10

03 Dec 12:46
Compare
Choose a tag to compare

Enhancement:

  • Add new SublimeLinter protected regions key
  • Add support for custom environment variables
  • Add protected regions for diff popup (Issue #476)

Fix:

  • mangled {{branch}} text when git status output is colored (Issue #474)

README:

  • Fix some typos
  • Add description of "diff_popup_protected_regions" setting
  • Add description of "env" setting

1.7.9

11 Nov 17:30
Compare
Choose a tag to compare

Internal:

  • Update json_test
  • Ignore .ropeproject folder

Fix:

  • Branch name with dot is truncated on status bar (Issue #468)

1.7.8

17 Oct 19:16
Compare
Choose a tag to compare

Fix:

  • Branch info for status bar not detected on macOS (Issue #462)

1.7.7

16 Oct 19:20
Compare
Choose a tag to compare

A N N O U N C E M E N T

This release adds support for the following template variables to be used
to customize the status bar text.

{{remote}}         -- tracked remote of current branch or `None`
{{ahead}}          -- number of commits the local branch is ahead of remote
{{behind}}         -- number of commits the local branch is behind remote
{{added_files}}    -- number of untracked files added to working tree
{{deleted_files}}  -- number of files deleted from working tree
{{modified_files}} -- number of modified files in the working tree
{{staged_files}}   -- number of files in the staging area

C H A N G E L O G

Internal:

  • Add setup.cfg to configure linters
  • Drop support for mdpopups 1.x (2.0+ required)

Fix:

  • Forwared arguments from commands to git_gutter

Enhancement:

  • Add count and wrap arguments to goto commands. (Issue #458)
  • Use own command to enable/disable GitGutter per view
  • Add more status bar variables (Issue #457)

1.7.6

02 Oct 12:06
Compare
Choose a tag to compare

C H A N G E L O G

Fix:

  • Enable GitGuter incase "git_gutter_enable" is not present.
  • Support Info module provides no GitGutter version.
  • Calling git_gutter_diff_popup with missing mdpopups causes exception.

README:

  • Update Troubleshooting for MacOS Xcode license.
  • Added Monokai Pro to supported color schemes list.

Enhancement:

  • Improve diff popup visibility on light color schemes
  • Show commit details in Compare against branch/tag

1.7.5

18 Sep 15:42
Compare
Choose a tag to compare

A N N O U N C E M E N T

In manner of consistency all functions are now available via

  • command pallet
  • main menu
  • key bindings

The command pallet is probably the best and most quickly available cheat
sheet for key bindings which is the reason to add all commands there.

The following main menu entries are available:

 Edit
  +- Revert Change to Commit             (ctrl+shift+alt+z)
  +- Copy Content from Commit            (ctrl+shift+c)

 View
  +- GitGutter
     +- Enable
     +- Show Diff Popup                  (ctrl+shift+alt+c, ctrl+d)
     +- ...

 Goto
  +- Goto Previous Git Difference        (ctrl+shift+alt+k)
  +- Goto Next Git Difference            (ctrl+shift+alt+j)

 Preferences
  +- Package Settings
     +- GitGutter
        +- ...

N O T E

The command "GitGutter: Enable/Disable" was added to provide the opportunity
to disable GitGutter for single views.

As this command uses ST's "toggle_setting" the setting "enable"
in GitGutter.sublime-settings moved to Preferences.sublime-settings.

If you need to disable GitGutter globally, you'll need to do that by adding

 "git_gutter_enable": false

to the Preferences.sublime-settings.

This setting works in Project settings as well.


C H A N G E L O G

Enhancement:

  • Add a text command with key binding to revert changes
  • Add a text command with key binding to copy content from commit
  • Add main menu entry/command pallet entry/key binding for all commands
  • Toggle GitGutter via main menu and command pallet
  • Flatten the 'Compare against' main menu structure

Fix:

  • Compare against Origin uses @{upstream} (Issue #371)
  • Compare against… panels don't show immediately. (#446)

README:

  • Update Compare against paragraph
  • Add Goto/Copy/Revert Change

1.7.4

16 Aug 18:51
Compare
Choose a tag to compare

README:

  • Add troubleshooting for GitGutter keeping disabled

Internal:

  • Cache global settings as function attribute
  • Log the reason for GitGutter to be disabled ("debug": true)

Fix:

  • Gutter icons are not displayed in Sublime Text 2

1.7.3

02 Aug 17:31
Compare
Choose a tag to compare

Enhancement:

  • Add support for PackageDev settings linting & completion

Fix:

  • Don't use Consolas font in diff popup
  • Correctly decode empty git output
  • IndexError exception in console (Issue #429)
  • Reduce gutter icon jumping while editing text

README:

  • Fix some smaller graphical glitches
  • Use animated screenshots captured with latest Sublime Text
  • Add trouble shooting section for working tree

1.7.2

08 Jun 15:12
Compare
Choose a tag to compare

Note

1) Diff Algrorithm

All people who modified the "patience" setting may need to update their user settings.

The "patience" setting is replaced by "diff_algorithm" to allow to set any of the known
diff algorithms ("default", "minimal", "patience", "histogram") to be used by git.

The default value remains "patience".

2) Diff Popup

Please note that mdpopups 2.0.0 was released which requires at least Sublime Text 3124.
Therefore diff popup will no longer work on earlier builts if 2.0.0+ is detected.

Changes

Fix:

  • Diff popup cuts off start of text (Issue #419)
  • Diff popup is not displayed if view is scrolled horizontal.
  • Copy text from diff popup fails
  • Limit mdpopups usage required for 2.0.0+

Enhancement:

  • Call popup creation synchrounous to reduce delay and help avoid fighting with others
  • Scroll to beginning of reverted hunk if not in visible region.
  • Add support for git diff --histogram algorithm (Issue #422)