atom/git-diff

Gutter highlighting does not work for files in a submodule

Kosyne opened this issue · 1 comments

Description

git-diff highlighting does not work for files in a submodule.

Steps to Reproduce

  1. Have a git repo that uses submodules
  2. Edit a file NOT in a submodule, note that the gutter highlights properly
  3. Edit a file IN a submodule, note that the gutter does NOT highlight at all.

Expected behavior: Submodules should highlight the gutter the same as non-submodules.

Actual behavior: There is no git-diff highlighting whatsoever.

Reproduces how often: Always

Versions

Atom: 1.17.2

git-diff: 1.3.5

So, apparently you need to restart atom and/or reopen that file's tab before the highlighting will work. My bad.