mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 03:57:41 -05:00
fix git branch sort order (#80096)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user