This commit is contained in:
Ladislau Szomoru 2024-09-10 15:07:54 +02:00
parent c2c032e0da
commit 2a27ab1e48

View file

@ -275,7 +275,7 @@ export class GitHistoryProvider implements SourceControlHistoryProvider, FileDec
if (historyItemRefs.length === 0) {
// TODO@lszomoru - log
return undefined;
} else if (historyItemRefs.length === 1 && historyItemRefs[0] === this.currentHistoryItemRemoteRef?.id) {
} else if (historyItemRefs.length === 1 && historyItemRefs[0] === this.currentHistoryItemRef?.id) {
// Remote
if (this.currentHistoryItemRemoteRef) {
const ancestor = await this.repository.getMergeBase(historyItemRefs[0], this.currentHistoryItemRemoteRef.id);