Commit a1652a6
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 16d825a commit a1652a6
1 file changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
1367 | | - | |
| 1367 | + | |
1368 | 1368 | | |
1369 | 1369 | | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
1370 | 1377 | | |
1371 | 1378 | | |
1372 | 1379 | | |
| |||
1379 | 1386 | | |
1380 | 1387 | | |
1381 | 1388 | | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1388 | 1406 | | |
1389 | 1407 | | |
1390 | 1408 | | |
| |||
0 commit comments