mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 22:03:30 +03:00
Push rather than inserting
This in theory is a faster way of adding items to the list, but at the very least, makes it consistent with the other branch which also uses `push`
This commit is contained in:
parent
fc8d8bcb43
commit
442ff9dbac
@ -1855,7 +1855,7 @@ fn get_applied_status(
|
||||
.or_default()
|
||||
.entry(claim.file_path.clone())
|
||||
.or_default()
|
||||
.insert(0, git_diff_hunk.clone());
|
||||
.push(git_diff_hunk.clone());
|
||||
let updated_hunk = Hunk {
|
||||
start: git_diff_hunk.new_start,
|
||||
end: git_diff_hunk.new_start + git_diff_hunk.new_lines,
|
||||
|
Loading…
Reference in New Issue
Block a user