mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 02:26:14 +03:00
Stack - correctly flag remote commits when no changeid
This commit is contained in:
parent
05e812ca88
commit
055a653979
@ -512,7 +512,12 @@ fn stack_series(
|
||||
.get(&change_id)
|
||||
.cloned()
|
||||
})
|
||||
.or(copied_from_remote_id);
|
||||
.or(copied_from_remote_id)
|
||||
.or(if series.remote(&patch) {
|
||||
Some(commit.id())
|
||||
} else {
|
||||
None
|
||||
});
|
||||
if remote_commit_id.map_or(false, |id| commit.id() != id) {
|
||||
requires_force = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user