more branch merge tracking
This commit is contained in:
parent
658a2ce1a2
commit
5f882d1388
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue