Commit b33879d
path: fix win32 relative() when "to" is a prefix
when the basename of "to" was a prefix of the basename of "from" win32
relative() would miss including it in the result
Fixes: #5447
PR-URL: #5456
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Roman Reiss <me@silverwind.io>1 parent 8b16ba3 commit b33879dCopy full SHA for b33879d
File tree
Expand file treeCollapse file tree
2 files changed
+23
-8
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+23
-8
lines changedOpen diff view settings
Collapse file
+21-7Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
603 | 603 | |
604 | 604 | |
605 | 605 | |
606 | | - |
607 | | - |
608 | | - |
609 | | - |
610 | | - |
611 | | - |
| 606 | + |
| 607 | + |
| 608 | + |
| 609 | + |
| 610 | + |
| 611 | + |
| 612 | + |
| 613 | + |
| 614 | + |
| 615 | + |
| 616 | + |
| 617 | + |
| 618 | + |
| 619 | + |
| 620 | + |
| 621 | + |
| 622 | + |
| 623 | + |
| 624 | + |
| 625 | + |
| 626 | + |
612 | 627 | |
613 | | - |
614 | 628 | |
615 | 629 | |
616 | 630 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
470 | 470 | |
471 | 471 | |
472 | 472 | |
473 | | - |
| 473 | + |
| 474 | + |
474 | 475 | |
475 | 476 | |
476 | 477 | |
|
0 commit comments