diff options
| -rw-r--r-- | branches.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/branches.go b/branches.go index 4fa85b8..490fd16 100644 --- a/branches.go +++ b/branches.go @@ -65,7 +65,7 @@ func (repo *Repo) GetTagHash(t string) string { } // 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 cmd := []string{"git", "rev-list", to + "..." + from} result, _ := repo.RunStrict(cmd) |
