[PR #1843] [MERGED] Don't ignore error in getMergeCommit #16079

Closed
opened 2025-11-02 12:01:49 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1843
Author: @ethantkoenig
Created: 5/31/2017
Status: Merged
Merged: 6/1/2017
Merged by: @appleboy

Base: masterHead: fix/pull_error


📝 Commits (1)

  • fda0f5f Don't ignore error in getMergeCommit

📊 Changes

1 file changed (+9 additions, -3 deletions)

View changed files

📝 models/pull.go (+9 -3)

📄 Description

Check for previously-ignored error in PullRequest.getMergeCommit(), and return appropriate errors in unexpected circumstances.

Should help in debugging #1186 (note: this PR does NOT fix the problem, but only helps to diagnose it)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1843 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 5/31/2017 **Status:** ✅ Merged **Merged:** 6/1/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `fix/pull_error` --- ### 📝 Commits (1) - [`fda0f5f`](https://github.com/go-gitea/gitea/commit/fda0f5f8e5d20dabe30676ed7b9932ec5e415349) Don't ignore error in getMergeCommit ### 📊 Changes **1 file changed** (+9 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `models/pull.go` (+9 -3) </details> ### 📄 Description Check for previously-ignored error in `PullRequest.getMergeCommit()`, and return appropriate errors in unexpected circumstances. Should help in debugging #1186 (note: this PR does __NOT__ fix the problem, but only helps to diagnose it) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:01:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16079