Commit ccc1885
committed
filter-repo: avoid parsing the repository refs repeatedly
In commit 704e258 (filter-repo: limit searches for ref values to
actual refs, 2024-10-21), we added code to be more careful to only
look for ref values corresponding to actual repository refs, but in
doing so, added a bug where we'd repeatedly invoke `git show-ref`
and parse the output, once for every updated ref. This could be
quite slow, and was entirely unnecessary. Part of the code was in
place to avoid this, but the key missing setting was overlooked.
Signed-off-by: Elijah Newren <[email protected]>1 parent ec8cb66 commit ccc1885
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4630 | 4630 | | |
4631 | 4631 | | |
4632 | 4632 | | |
| 4633 | + | |
4633 | 4634 | | |
4634 | 4635 | | |
4635 | 4636 | | |
| |||
4639 | 4640 | | |
4640 | 4641 | | |
4641 | 4642 | | |
| 4643 | + | |
4642 | 4644 | | |
4643 | 4645 | | |
4644 | 4646 | | |
| |||
0 commit comments