Commit 6ef3775
Ensure only fully matching symrefs are deleted
Deleting a symbolic ref with e.g. the name 'refs/remotes/origin/mas'
would also delete 'refs/remotes/origin/master' if the ref had to be
deleted from the pack file.
In order to fix this the full ref is now checked for a match.1 parent 30387f1 commit 6ef3775Copy full SHA for 6ef3775
1 file changed
+4-2Lines changed: 4 additions & 2 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
445 | 445 | |
446 | 446 | |
447 | 447 | |
| 448 | + |
| 449 | + |
| 450 | + |
448 | 451 | |
449 | 452 | |
450 | 453 | |
451 | 454 | |
452 | | - |
453 | | - |
| 455 | + |
454 | 456 | |
455 | 457 | |
456 | 458 | |
|
0 commit comments