src/server/pkg/cmdutil/cobra.go
func ParseCommits(args []string) ([]*pfs.Commit, error) {
	var results []*pfs.Commit
	for _, arg := range args {
		commit, err := ParseCommit(arg)
		if err != nil {
			return nil, err
		}
		results = append(results, commit)
	}
	return results, nil
}
func ParseCommits(args []string) ([]*pfs.Commit, error) {
	var results []*pfs.Commit
	for _, arg := range args {
		commit, err := ParseCommit(arg)
		if err != nil {
			return nil, err
		}
		results = append(results, commit)
	}
	return results, nil
}
func ParseCommits ( args [ ] string ) ( [ ] * pfs . Commit , error ) { var results [ ] * pfs . Commit for _ , arg := range args { commit , err := ParseCommit ( arg ) if err != nil { return nil , err } results = append ( results , commit ) } return results , nil }
// ParseCommits converts all arguments to *pfs.Commit structs using the
// semantics of ParseCommit
ParseCommits converts all arguments to * pfs . Commit structs using the semantics of ParseCommit