Permalink
Browse files

Fix: Wrong compare target Preferences and GitGutter.sublime-settings

The default `compare_target` value added with the last commit works with `status_porcelain` branch only.
The value "CACHED" is not yet supported in the master branch.
  • Loading branch information...
1 parent 39ef734 commit 581550a2aac4049011c6cfdaff6887442d3f6327 @deathaxe deathaxe committed Jul 20, 2017
Showing with 8 additions and 6 deletions.
  1. +4 −3 GitGutter.sublime-settings
  2. +4 −3 Preferences.sublime-settings
@@ -14,18 +14,19 @@
//
// "git_binary": {
// "default": "",
- // "windows": "C:/Program Files/Git/cmd/git.exe"
+ // "windows": "C:/Program Files/Git/cmd/git.exe",
+ // "linux": "/usr/bin/git",
+ // "osx": "/usr/bin/git"
// },
"git_binary": "",
// The commit, branch, tag, or remote to compare against.
// This setting changes the initial compare target and can
// be temporarily overwritten by 'Compare against ...' commands
// Valid constants are:
- // "CACHED": Compare against staging area (if available)
// "HEAD": Compare against most recent commit
// "master": Compare against master branch
- "compare_against": "CACHED",
+ "compare_against": "HEAD",
// Live mode evaluates changes every time file is modified,
// Set false to disable evaluation after each input
@@ -14,18 +14,19 @@
//
// "git_binary": {
// "default": "",
- // "windows": "C:/Program Files/Git/cmd/git.exe"
+ // "windows": "C:/Program Files/Git/cmd/git.exe",
+ // "linux": "/usr/bin/git",
+ // "osx": "/usr/bin/git"
// },
"git_binary": "",
// The commit, branch, tag, or remote to compare against.
// This setting changes the initial compare target and can
// be temporarily overwritten by 'Compare against ...' commands
// Valid constants are:
- // "CACHED": Compare against staging area (if available)
// "HEAD": Compare against most recent commit
// "master": Compare against master branch
- "git_gutter_compare_against": "CACHED",
+ "git_gutter_compare_against": "HEAD",
// Live mode evaluates changes every time file is modified,
// Set false to disable evaluation after each input

0 comments on commit 581550a

Please sign in to comment.