ソースを参照

Uses the default remote first in issue linking

main
Eric Amodio 5年前
コミット
0a358110fa
2個のファイルの変更8行の追加0行の削除
  1. +1
    -0
      CHANGELOG.md
  2. +7
    -0
      src/annotations/annotations.ts

+ 1
- 0
CHANGELOG.md ファイルの表示

@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Fixes [#631](https://github.com/eamodio/vscode-gitlens/issues/631) - Remotes fail to show in gui
- Fixes [#633](https://github.com/eamodio/vscode-gitlens/issues/633) - Compare File with Previous Revision doesn't work if path contains '#'
- Fixes an issue where the _Open File_, _Open File on Remote_, and _Copy Remote Url to Clipboard_ commands didn't always work on changed files in the _Repositories_ view
- Fixes an issue where the default remote wasn't used first to provide automatic issue linking
## [9.4.1] - 2019-01-08

+ 7
- 0
src/annotations/annotations.ts ファイルの表示

@ -144,6 +144,13 @@ export class Annotations {
)} "Show Commit Details")`;
message = CommitFormatter.fromTemplate('${message}', commit);
remotes.sort(
(a, b) =>
(a.default ? -1 : 1) - (b.default ? -1 : 1) ||
a.name.localeCompare(b.name, undefined, { numeric: true, sensitivity: 'base' })
);
for (const r of remotes) {
if (r.provider === undefined) continue;

読み込み中…
キャンセル
保存