"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/cmd/pr/list/list.go" between
gh-cli-1.10.3.tar.gz and gh-cli-1.11.0.tar.gz

About: GitHub CLI is GitHub’s official command line tool.

list.go  (gh-cli-1.10.3):list.go  (gh-cli-1.11.0)
skipping to change at line 119 skipping to change at line 119
httpClient, err := opts.HttpClient() httpClient, err := opts.HttpClient()
if err != nil { if err != nil {
return err return err
} }
baseRepo, err := opts.BaseRepo() baseRepo, err := opts.BaseRepo()
if err != nil { if err != nil {
return err return err
} }
prState := strings.ToLower(opts.State)
if prState == "open" && shared.QueryHasStateClause(opts.Search) {
prState = ""
}
filters := shared.FilterOptions{ filters := shared.FilterOptions{
Entity: "pr", Entity: "pr",
State: strings.ToLower(opts.State), State: prState,
Author: opts.Author, Author: opts.Author,
Assignee: opts.Assignee, Assignee: opts.Assignee,
Labels: opts.Labels, Labels: opts.Labels,
BaseBranch: opts.BaseBranch, BaseBranch: opts.BaseBranch,
Search: opts.Search, Search: opts.Search,
Fields: defaultFields, Fields: defaultFields,
} }
if opts.Exporter != nil { if opts.Exporter != nil {
filters.Fields = opts.Exporter.Fields() filters.Fields = opts.Exporter.Fields()
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)