[PR #2087] [MERGED] Fix exit status 1 not handled @ getMergeCommit #16224

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2087
Author: @Bwko
Created: 6/30/2017
Status: Merged
Merged: 6/30/2017
Merged by: @lafriks

Base: masterHead: fix_error_exit


📝 Commits (1)

  • b36849d Fix exit status 1 not handled @ getMergeCommit

📊 Changes

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

View changed files

📝 models/pull.go (+1 -1)

📄 Description

process.GetManager().ExecDirEnv returns an error in the form of exec(%d:%s) failed: %v stdout: %v stderr: %v. Because of that the error code comparison fails.


🔄 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/2087 **Author:** [@Bwko](https://github.com/Bwko) **Created:** 6/30/2017 **Status:** ✅ Merged **Merged:** 6/30/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `fix_error_exit` --- ### 📝 Commits (1) - [`b36849d`](https://github.com/go-gitea/gitea/commit/b36849dc1f8df55bba9c3ad77993c7d521776842) Fix exit status 1 not handled @ getMergeCommit ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/pull.go` (+1 -1) </details> ### 📄 Description `process.GetManager().ExecDirEnv` returns an error in the form of `exec(%d:%s) failed: %v stdout: %v stderr: %v`. Because of that the error code comparison fails. --- <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:05:18 -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#16224