Commit 3b3ace4
contrib/subtree: functionalize split traversal
`git subtree split` requires an ancestor-first history traversal.
Refactor the existing rev-list traversal into its own function,
`find_commits_to_split`.
Pass unrevs via stdin to avoid limits on the maximum length of
command-line arguments. Also remove an unnecessary `eval`.
Signed-off-by: Colin Stagner <ask+git@howdoi.land>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent f8e90b9 commit 3b3ace4
1 file changed
+27
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
522 | 547 | | |
523 | 548 | | |
524 | 549 | | |
| |||
976 | 1001 | | |
977 | 1002 | | |
978 | 1003 | | |
979 | | - | |
980 | | - | |
| 1004 | + | |
981 | 1005 | | |
982 | 1006 | | |
983 | 1007 | | |
984 | | - | |
| 1008 | + | |
985 | 1009 | | |
986 | 1010 | | |
987 | 1011 | | |
| |||
0 commit comments