Tucker McKnight <tucker@pangolin.lan> | Tue Jan 20 2026
Fix bug with empty branch names in branch name list (Somehow didn't add this to the previous commit.)
22 23 24 25 26 27
}
// Get all branches available in the repository
const allBranches = (await exec(`git -C ${repoConfig.location} branch --format="%(refname:short)"`)).stdout.split("\n")
// Sort the list of branch descriptions from branchesToPull by the length
// of their patterns.22 23 24 25 26 27
}
// Get all branches available in the repository
const allBranches = (await exec(`git -C ${repoConfig.location} branch --format="%(refname:short)"`)).stdout.split("\n").filter(branch => branch !== '')
// Sort the list of branch descriptions from branchesToPull by the length
// of their patterns.