more branch merge tracking

This commit is contained in:
Jeff Carr 2025-09-05 01:59:10 -05:00
parent 658a2ce1a2
commit 5f882d1388
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func (repo *Repo) GetTagHash(t string) string {
} }
// lookup a hash from a tag with 'git rev-list' // lookup a hash from a tag with 'git rev-list'
func (repo *Repo) GetBranchDifferences(from string, to string) []string { func (repo *Repo) GetBranchDifferences(to string, from string) []string {
// git rev-list -n 1 v0.0.66 // git rev-list -n 1 v0.0.66
cmd := []string{"git", "rev-list", to + "..." + from} cmd := []string{"git", "rev-list", to + "..." + from}
result, _ := repo.RunStrict(cmd) result, _ := repo.RunStrict(cmd)