[PR #5097] [MERGED] Backport: Fix regex to support optional end line of old section in diff hunk #17638

Closed
opened 2025-11-02 14:38:06 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5097
Author: @kolaente
Created: 10/17/2018
Status: Merged
Merged: 10/18/2018
Merged by: @lunny

Base: release/v1.6Head: 1.6/hotfix/pr-diff-cutting


📝 Commits (1)

  • d36f3d2 Fix regex to support optional end line of old section in diff hunk

📊 Changes

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

View changed files

📝 models/git_diff.go (+16 -9)

📄 Description

See #5096


🔄 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/5097 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 10/17/2018 **Status:** ✅ Merged **Merged:** 10/18/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `release/v1.6` ← **Head:** `1.6/hotfix/pr-diff-cutting` --- ### 📝 Commits (1) - [`d36f3d2`](https://github.com/go-gitea/gitea/commit/d36f3d2dccfff1bf4564e659468bf75035e221a6) Fix regex to support optional end line of old section in diff hunk ### 📊 Changes **1 file changed** (+16 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `models/git_diff.go` (+16 -9) </details> ### 📄 Description See #5096 --- <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 14:38:06 -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#17638