Revert "query and show commits by branch"

This reverts commit 2d837cc3db.
This commit is contained in:
Brad Rydzewski
2014-03-16 23:08:53 -07:00
parent 5c848d647a
commit 7d52a4c4df
14 changed files with 31 additions and 85 deletions

View File

@@ -9,12 +9,11 @@ import (
// Returns the combined stdout / stderr for an individual Build.
func BuildOut(w http.ResponseWriter, r *http.Request, u *User, repo *Repo) error {
branch := r.FormValue(":branch")
hash := r.FormValue(":commit")
labl := r.FormValue(":label")
// get the commit from the database
commit, err := database.GetCommitBranchHash(branch, hash, repo.ID)
commit, err := database.GetCommitHash(hash, repo.ID)
if err != nil {
return err
}