Skip to content

Commit

Permalink
fix git branch sort order (#80096)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno authored Aug 30, 2019
1 parent 190a29c commit b3f85bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/git/src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ export class Repository {
const args = ['for-each-ref', '--format', '%(refname) %(objectname)'];

if (opts && opts.sort && opts.sort !== 'alphabetically') {
args.push('--sort', opts.sort);
args.push('--sort', `-${opts.sort}`);
}

const result = await this.run(args);
Expand Down

0 comments on commit b3f85bc

Please sign in to comment.