Commit af28ecc5 authored by Patrick Webster's avatar Patrick Webster Committed by Sander van Harmelen

Adding missing straight option in repositories compare api (#448)

* Adding missing straight option in repositories compare api

* Fixing struct reference for missing straight option
parent 8b7ba73a
......@@ -187,6 +187,7 @@ func (c Compare) String() string {
type CompareOptions struct {
From *string `url:"from,omitempty" json:"from,omitempty"`
To *string `url:"to,omitempty" json:"to,omitempty"`
Straight *bool `url:"straight,omitempty" json:"straight,omitempty"`
}
// Compare compares branches, tags or commits.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment