Skip to content

Commit 6d462c1

Browse files
committed
Avoid re-initialisation of IdMap in but status
I hope it's truly not needed, but if it is, we should have a test for that.
1 parent ed1b145 commit 6d462c1

File tree

1 file changed

+0
-1
lines changed
  • crates/but/src/command/legacy/status

1 file changed

+0
-1
lines changed

crates/but/src/command/legacy/status/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,6 @@ pub fn print_group(
490490
}
491491
}
492492
} else {
493-
let mut id_map = IdMap::new_from_context(ctx)?;
494493
id_map.add_file_info_from_context(ctx)?;
495494
let id = id_map.unassigned().to_string().underline().blue();
496495
writeln!(

0 commit comments

Comments
 (0)