Ver a proveniência

Fixes missing sha

main
Eric Amodio há 7 anos
ascendente
cometimento
5682da6aab
2 ficheiros alterados com 2 adições e 1 eliminações
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/annotations/annotations.ts

+ 1
- 0
CHANGELOG.md Ver ficheiro

@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## [Unreleased] ## [Unreleased]
### Fixed ### Fixed
- Fixes issue where [Gravatars](https://en.gravatar.com/) in the gutter blame annotations weren't restored on tab switch - 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 ## [7.5.3] - 2018-01-15
### Fixed ### Fixed

+ 1
- 1
src/annotations/annotations.ts Ver ficheiro

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

Carregando…
Cancelar
Guardar