mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-03 15:06:01 +03:00
Bugfix determining new upstream commits
This commit is contained in:
parent
f4b3dde2e8
commit
afda601f69
@ -42,8 +42,9 @@
|
||||
// Set the store immediately so it can be updated later.
|
||||
const upstreamCommits = createUpstreamContextStore([]);
|
||||
$: upstreamCommits.set(branch.upstreamData?.commits ?? []);
|
||||
|
||||
const unknownCommits = createUnknownCommitsStore([]);
|
||||
$: unknownCommits.set($upstreamCommits.filter((c) => !c.relatedTo || c.id != c.relatedTo.id));
|
||||
$: unknownCommits.set($upstreamCommits.filter((c) => !c.relatedTo));
|
||||
|
||||
const fileIdSelection = new FileIdSelection();
|
||||
setContext(FileIdSelection, fileIdSelection);
|
||||
|
Loading…
Reference in New Issue
Block a user