Sfoglia il codice sorgente

Fixes missing sha

main
Eric Amodio 7 anni fa
parent
commit
5682da6aab
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/annotations/annotations.ts

+ 1
- 0
CHANGELOG.md Vedi File

@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## [Unreleased]
### Fixed
- Fixes issue where [Gravatars](https://en.gravatar.com/) in the gutter blame annotations weren't restored on tab switch
- Fixes issue where the id (sha) was missing in the hover blame annotations for uncommitted changes
## [7.5.3] - 2018-01-15
### Fixed

+ 1
- 1
src/annotations/annotations.ts Vedi File

@ -86,7 +86,7 @@ export class Annotations {
message = `\n\n> ${message}`;
}
else {
showCommitDetailsCommand = `\`${commit.shortSha}\``;
showCommitDetailsCommand = `\`${commit.shortSha || '00000000'}\``;
}
const markdown = new MarkdownString(`${showCommitDetailsCommand}   ![](${commit.getGravatarUri(Container.config.defaultGravatarsStyle).toString()})  __${commit.author}__, ${commit.fromNow()}   _(${commit.formatDate(dateFormat)})_ ${message}${commandBar}`);

Caricamento…
Annulla
Salva