๐ WAYPOINT LESSON
Checkpoint โ Workflow
โญ beginnerโณ 20 min read๐ Lesson 77 of 85
A repo auditor: linear-history checks, rebase-vs-merge reasoning, and a change-classification helper.
Checkpoint: the repo auditor
Task: implement in Solution:
static bool IsLinear(List<string> commits)โ true when no commit appears twice (a fork/re-entry breaks linearity); empty list โ true.static string DescribeChange(string before, string after)โ"added"when before is empty,"removed"when after is empty,"modified"otherwise.static List<string> StaleBranches(Dictionary<string, string> branchTip, string mainTip, List<string> mergedIntoMain)โ branch names whose tip is not main's tip AND are not inmergedIntoMain, sorted alphabetically.