Browse Source

Fixes getting oldest unpushed commit w/ >1 remotes

main
Eric Amodio 1 year ago
parent
commit
fd1627b346
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/env/node/git/localGitProvider.ts

+ 1
- 1
src/env/node/git/localGitProvider.ts View File

@ -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'),

Loading…
Cancel
Save