浏览代码

Fixes getting oldest unpushed commit w/ >1 remotes

main
Eric Amodio 1年前
父节点
当前提交
fd1627b346
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/env/node/git/localGitProvider.ts

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

@ -3500,7 +3500,7 @@ export class LocalGitProvider implements GitProvider, Disposable {
async getOldestUnpushedRefForFile(repoPath: string, uri: Uri): Promise<string | undefined> {
const [relativePath, root] = splitPath(uri, repoPath);
const data = await this.git.log__file(root, relativePath, '@{push}..', {
const data = await this.git.log__file(root, relativePath, '@{u}..', {
argsOrFormat: ['-z', '--format=%H'],
fileMode: 'none',
ordering: configuration.get('advanced.commitOrdering'),

正在加载...
取消
保存