Chromium Code Reviews| Index: milo/common/gitiles/gitiles.go |
| diff --git a/milo/common/gitiles/gitiles.go b/milo/common/gitiles/gitiles.go |
| index 7fd41c69761e173d4dc0ea42af53cfbb3ec4e47e..cfa5408d51ee804aecab908d8266f79cd3a217fe 100644 |
| --- a/milo/common/gitiles/gitiles.go |
| +++ b/milo/common/gitiles/gitiles.go |
| @@ -35,28 +35,21 @@ type Repo struct { |
| Branch string |
| } |
| -// Author is the author returned from a gitiles log request. |
| +// Author is the author or a committer returned from a gitiles log request. |
| type Author struct { |
|
iannucci
2017/07/13 19:14:36
User?
tandrii(chromium)
2017/07/13 19:21:20
Done.
|
| Name string `json:"name"` |
| Email string `json:"email"` |
| Time string `json:"time"` |
| } |
| -// Committer is the committer information returned from a gitiles log request. |
| -type Committer struct { |
| - Name string `json:"name"` |
| - Email string `json:"email"` |
| - Time string `json:"time"` |
| -} |
| - |
| // Log is the Log information of a commit returned from a gitiles log request. |
| type Log struct { |
| - Commit string `json:"commit"` |
| - Tree string `json:"tree"` |
| - Parents []string `json:"parents"` |
| - Author Author `json:"author"` |
| - Committer Committer `json:"committer"` |
| - Message string `json:"message"` |
| + Commit string `json:"commit"` |
| + Tree string `json:"tree"` |
| + Parents []string `json:"parents"` |
| + Author Author `json:"author"` |
| + Committer Author `json:"committer"` |
| + Message string `json:"message"` |
| } |
| // Commit is the JSON response from querying gitiles for a log request. |