Commit 275cfdd
committed
fix: ralph command now matches branch name to feature folder
Previously, specify ralph would select the first feature folder found
alphabetically (e.g., 001-* over 002-*), ignoring which branch the user
was on. Now it:
1. First tries to match the current branch name to a feature folder
2. Falls back to the last folder alphabetically (highest feature number)
This ensures working on branch 002-foo uses specs/002-foo/tasks.md
instead of incorrectly picking specs/001-bar/tasks.md.1 parent badd146 commit 275cfdd
1 file changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
1714 | | - | |
| 1714 | + | |
1715 | 1715 | | |
1716 | 1716 | | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1717 | 1724 | | |
1718 | 1725 | | |
1719 | 1726 | | |
| |||
1726 | 1733 | | |
1727 | 1734 | | |
1728 | 1735 | | |
1729 | | - | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
1734 | | - | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
1735 | 1753 | | |
1736 | 1754 | | |
1737 | 1755 | | |
| |||
0 commit comments