Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactor CatFile batch implementation and introduce batch-command for git 2.36#34651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
lunny wants to merge5 commits intogo-gitea:main
base:main
Choose a base branch
Loading
fromlunny:lunny/catfile_batch_refactor

Conversation

lunny
Copy link
Member

@lunnylunny commentedJun 8, 2025
edited
Loading

For git version 2.36,git cat-file --batch-command was introduced which can replacegit cat-file --batch andgit cat-file --batch-check.

This PR implements an abstract layer for the batch commands so that both git 2.36 and lower version git can work.
If git version is lower than 2.36, it will start two subprocessesgit cat-file --batch andgit cat-file --batch-check.
If git version is greater than 2.36, onlygit cat-file --batch-command will be started.

@lunnylunny added the type/refactoringExisting code has been cleaned up. There should be no new functionality. labelJun 8, 2025
@GiteaBotGiteaBot added the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelJun 8, 2025
@github-actionsgithub-actionsbot added the modifies/goPull requests that update Go code labelJun 8, 2025
@lunnylunny added this to the1.25.0 milestoneJun 8, 2025
@lunnylunny closed thisJun 12, 2025
@GiteaBotGiteaBot removed this from the1.25.0 milestoneJun 12, 2025
@lunnylunny reopened thisJun 12, 2025
@lunnylunnyforce-pushed thelunny/catfile_batch_refactor branch fromf0b6480 to334eb9eCompareJune 18, 2025 17:15
@lunnylunny added this to the1.25.0 milestoneJun 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
lgtm/need 2This PR needs two approvals by maintainers to be considered for merging.modifies/goPull requests that update Go codetype/refactoringExisting code has been cleaned up. There should be no new functionality.
Projects
None yet
Milestone
1.25.0
Development

Successfully merging this pull request may close these issues.

2 participants
@lunny@GiteaBot

[8]ページ先頭

©2009-2025 Movatter.jp