浏览代码

Fixes #32 - 00000000 Uncommitted changes distracting

main
Eric Amodio 7 年前
父节点
当前提交
85826eb091
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/blameActiveLineController.ts

+ 1
- 1
src/blameActiveLineController.ts 查看文件

@ -282,7 +282,7 @@ export default class BlameActiveLineController extends Disposable {
// If the messages match (or we couldn't find the log), then this is a possible duplicate annotation
const possibleDuplicate = !logCommit || logCommit.message === commit.message;
// If we don't have a possible dupe or we aren't showing annotations get the hover message
if (!possibleDuplicate || !this.annotationController.isAnnotating(editor)) {
if (!commit.isUncommitted && (!possibleDuplicate || !this.annotationController.isAnnotating(editor))) {
hoverMessage = BlameAnnotationFormatter.getAnnotationHover(config, blameLine, logCommit || commit);
}
}

正在加载...
取消
保存