瀏覽代碼

Fixes errors when listing history in repos without any tags

main
Eric Amodio 6 年之前
父節點
當前提交
59794e9e96
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/git/git.ts

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

@ -812,7 +812,7 @@ export class Git {
}
static showref_tag(repoPath: string) {
return git<string>({ cwd: repoPath }, 'show-ref', '--tags');
return git<string>({ cwd: repoPath, errors: GitErrorHandling.Ignore }, 'show-ref', '--tags');
}
static stash_apply(repoPath: string, stashName: string, deleteAfter: boolean) {

Loading…
取消
儲存