mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Git - use --stdin when running git log (#228817)
* Revert "Git - truncate commit hashes before running git log (#228643)"
This reverts commit 26ae4519ca.
* Use the --stdin flag when running git log
This commit is contained in:
@@ -203,9 +203,8 @@ export class GitHistoryProvider implements SourceControlHistoryProvider, FileDec
|
||||
return [];
|
||||
}
|
||||
|
||||
// Deduplicate refNames and truncate them to 10 characters
|
||||
const refNames = Array.from(new Set<string>(options.historyItemRefs))
|
||||
.map(ref => ref.substring(0, 10));
|
||||
// Deduplicate refNames
|
||||
const refNames = Array.from(new Set<string>(options.historyItemRefs));
|
||||
|
||||
let logOptions: LogOptions = { refNames, shortStats: true };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user