mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-29 23:57:51 +00:00
rewrite: do not insert "removed" refs to reverse branch lookup table
It should no longer be needed since e3254fa5c4
"rewrite: don't rewrite
the "removed" side of a branch conflict."
This commit is contained in:
parent
f5f61f6bfe
commit
2bed9c9112
1 changed files with 0 additions and 6 deletions
|
@ -226,12 +226,6 @@ impl<'settings, 'repo> DescendantRebaser<'settings, 'repo> {
|
|||
let mut branches: HashMap<_, HashSet<_>> = HashMap::new();
|
||||
for (branch_name, branch_target) in mut_repo.view().branches() {
|
||||
if let Some(local_target) = &branch_target.local_target {
|
||||
for commit in local_target.removes() {
|
||||
branches
|
||||
.entry(commit.clone())
|
||||
.or_default()
|
||||
.insert(branch_name.clone());
|
||||
}
|
||||
for commit in local_target.adds() {
|
||||
branches
|
||||
.entry(commit.clone())
|
||||
|
|
Loading…
Reference in a new issue