[PR #119] [MERGED] fix git version below 2.7 #123

Closed
opened 2026-02-16 10:24:11 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/git/pull/119
Author: @daviian
Created: 5/24/2018
Status: Merged
Merged: 5/26/2018
Merged by: @lunny

Base: masterHead: bugfix/fix-repo-init


📝 Commits (5)

📊 Changes

4 files changed (+66 additions, -5 deletions)

View changed files

📝 commit_test.go (+1 -0)
📝 repo_commit.go (+27 -5)
repo_commit_test.go (+37 -0)
📝 repo_test.go (+1 -0)

📄 Description

Targets https://github.com/go-gitea/gitea/issues/3458

Should fix commitsBefore for older git versions.


🔄 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/git/pull/119 **Author:** [@daviian](https://github.com/daviian) **Created:** 5/24/2018 **Status:** ✅ Merged **Merged:** 5/26/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `bugfix/fix-repo-init` --- ### 📝 Commits (5) - [`ae475d1`](https://github.com/go-gitea/git/commit/ae475d1f7cfde83fb01cb7b82e004b24f4e6ec2a) fix git version below 2.7 - [`bbc8276`](https://github.com/go-gitea/git/commit/bbc82768209884419c275dd91488981368190938) fmt - [`7443e41`](https://github.com/go-gitea/git/commit/7443e4128403552dfdd74c88915b7c5b74e4c235) minor code improvement - [`ebca148`](https://github.com/go-gitea/git/commit/ebca14871d63bcf08b2f4465512338c5738365eb) copyright + import order - [`a416b3b`](https://github.com/go-gitea/git/commit/a416b3b0df7f83197f5b8db99a4cb2cf62300e8e) fmt ### 📊 Changes **4 files changed** (+66 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `commit_test.go` (+1 -0) 📝 `repo_commit.go` (+27 -5) ➕ `repo_commit_test.go` (+37 -0) 📝 `repo_test.go` (+1 -0) </details> ### 📄 Description Targets https://github.com/go-gitea/gitea/issues/3458 Should fix `commitsBefore` for older git versions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:24:11 -05:00
yindo closed this issue 2026-02-16 10:24:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/git#123