               commit_message: commit_message,
               committer: toml.committer})
         end
-        
+
         setup_statuses(batch, toml)
         {:running, head}
       {:error, message} ->

    |> Batch.changeset(%{state: status, commit: commit, last_polled: now})
    |> Repo.update!()

          stmp = "#{batch.project.staging_branch}.tmp2"
          GitHub.force_push!(repo_conn, base.commit, stmp)


          parents = [base.commit | Enum.map(patch_links, &(&1.patch.commit))]
          parents
        end

        head = if toml.use_squash_merge do
          # This will avoid creating a merge commit, which is important since it will prevent
          # bors from polluting th git blame history with it's own name
            head = Enum.at(parents, 0)
            GitHub.force_push!(repo_conn, head, batch.project.staging_branch)
            head
        else
          commit_message = Batcher.Message.generate_commit_message(
            patch_links,
            toml.cut_body_after,
            gather_co_authors(batch, patch_links))
          GitHub.synthesize_commit!(
            repo_conn,
            %{
