mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-05 08:29:30 +03:00
Fix bug in commit lines
- we can rely on change id's when establishing commit relationships
This commit is contained in:
parent
a4878b234d
commit
d9c96e84db
@ -253,11 +253,7 @@ export const UNKNOWN_COMMITS = Symbol('UnknownCommits');
|
||||
export function commitCompare(left: AnyCommit, right: AnyCommit): boolean {
|
||||
if (left.id == right.id) return true;
|
||||
if (left.changeId && right.changeId && left.changeId == right.changeId) return true;
|
||||
|
||||
if (left.description != right.description) return false;
|
||||
if (left.author.name != right.author.name) return false;
|
||||
if (left.author.email != right.author.email) return false;
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
export class RemoteHunk {
|
||||
|
Loading…
Reference in New Issue
Block a user