Skip to content

Releases: jisaacks/GitGutter

1.11.2

19 Jun 15:18
Compare
Choose a tag to compare

Fix:

  • Status bar text template key name

Enhancement:

  • Show commit hash in blame annotations
  • Use new line annotations of ST4

1.11.1

29 Oct 17:38
Compare
Choose a tag to compare

======

Fix:

  • A saved as.. file is compared against the original one (#549)

1.11.0

19 Oct 16:20
Compare
Choose a tag to compare

=======

This release drops support for ST2 and ST3 before build 3176.

The release 1.10.3 was archived and will be available for older releases
of Sublime Text, but it won't receive any updates anymore.

The main functional change which comes with this release is a dedicated
worker thread to run all git commands in. This change makes sure not to
cause GUI locks if a git command takes a little longer.


C H A N G E L O G

Enhancement:

  • Use dedicated worker thread for async tasks
  • Better submodule reloading

Internal:

  • Drop support for Sublime Text ST2 and ST3 pre-releases

1.10.3

04 Jul 16:33
Compare
Choose a tag to compare

=======

This release can help improving performance in some situations, if the
repository you work with is located on a network share.

To fix possible performance issues make sure not to use one of the following
variables in the status_bar_text setting:

- {{remote}}
- {{ahead}}
- {{behind}}
- {{added_files}}
- {{deleted_files}}
- {{modified_files}}
- {{staged_files}}

By avoiding those variables, GitGutter no longer calls git status -b -s -u
but only git rev-parse --abbrev-ref HEAD to read the branch name which
is much faster.

The following examples shows a status_bar_text template, which the expensive
line was removed from.

"{% if added_files + deleted_files + modified_files > 0 %}*{% endif %}, ",

Example:

"status_bar_text": [
    "{% if repo and branch %}",
        "{% if not st_git_status %}",
            "{{repo}}/{{branch}}",

        "{% endif %}",
        "{% if compare not in ('HEAD', branch, None) %}Comparing against {{compare}}, {% endif %}",
        "{% if state %}File is {{state}}{% endif %}",
        "{% if deleted > 0 %}, {{deleted}}-{% endif %}",
        "{% if inserted > 0 %}, {{inserted}}+{% endif %}",
        "{% if modified > 0 %}, {{modified}}≠{% endif %}",
        "{% if line_author and line_author_age %}, ⟢ {{line_author}} ({{line_author_age}}){% endif %}",
    "{% endif %}"
]

C H A N G E L O G

Enhancement:

  • Read branch statistics on demand (#458)

1.10.2

05 Apr 15:49
Compare
Choose a tag to compare

DOC:

  • Update settings and troubleshooting for ST3.2+

Fix:

  • line height is increased by annotations (#523)

1.10.1

15 Mar 17:49
Compare
Choose a tag to compare

Other:

  • change typo 'inore' to 'ignore' in settings.md

Enhancement:

  • Auto-enable branch name in status bar (#542)

Fix:

  • Gutter icons visible if mini_diff is true (#541)
  • Mini diff shows all lines as inserted if file is untracked

1.10.0

13 Mar 19:34
Compare
Choose a tag to compare

======

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

This release introduces some changes to ensure GitGutter to coexist well
with the new Incremental Diff feature of Sublime Text 3200.

If "mini_diff" is set to "auto" or True in Preferences.sublime-settings
GitGutter will no longer add icons to the normal gutter.

Please note:

  1. GitGutter themes don't have any effect anymore if ST's mini_diff is enabled.
  2. The results of ST's mini_diff and GitGutter's diff popup or the markers
    in the minimap may differ a little bit.

The status bar text template was tweaked to no longer show the branch name
if Sublime Text 3189+ is detected.

All other features keep untouched so far in order to not break any existing
feature.

As most of the main features of this plugin have been moved to ST's core,
this plugin seems to become deprecated / obsolete for ST3200+ in its current
form.


C H A N G E L O G

Fix:

  • Invalid key binding templates (#530)
  • Temporary files no longer cleaned when using ST 3189

Other:

  • Typo fix
  • Make EasyClangComplete regions protected by default

Enhancement:

  • Show line annotation manually via ctrl+shift+alt+c, ctrl+b
  • Don't add gutter icons, if ST's mini diff is enabled
  • Add Compara Against support to mini_diff
  • Don't show branch in status bar for ST3189+

1.9.5

10 Nov 15:08
Compare
Choose a tag to compare

======

Enhancement:

  • Add line_annotation_ignore_whitespace setting (#526)
  • Disable line annotation if multiple cursors are visible
  • Disable line annotation if selection is not empty
  • Hide line annotation if caret moves horizontally
  • Debounce all evaluations which decide whether line annotation is displayed

Fix:

  • IndexError thrown every time ST starts (#528)

README:

  • Fix typos

1.9.4

19 Sep 19:46
Compare
Choose a tag to compare

Fix:

  • avoid line height shifting by displaying annotations (#518)

1.9.3

12 Sep 17:11
Compare
Choose a tag to compare

Enhancement:

  • Disable line annotation for uncommitted content (#517)

Fix:

  • Disable line annotations if content is centered (#514)