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

Minor bug fixes#6695

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

Merged
ethomson merged 3 commits intomainfromethomson/fix
Dec 19, 2023
Merged

Minor bug fixes#6695

ethomson merged 3 commits intomainfromethomson/fix
Dec 19, 2023

Conversation

ethomson
Copy link
Member

No description provided.

@@ -108,6 +105,9 @@ int cmd_index_pack(int argc, char **argv)
cli_progress_finish(&progress);

done:
if (!read_stdin && fd > 0)
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
if (!read_stdin&&fd>0)
if (!read_stdin&&fd >=0)

If we're reading an on-disk packfile, ensure that we close the filedescriptor on error.
`GIT_ASSERT` may be a macro for `assert` (when `GIT_ASSERT_HARD` isdefined), which may differ in debug builds. Pull the assignment out ofthe assertion.
`opts` may be null; check before dereferencing.
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
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ethomson

[8]ページ先頭

©2009-2025 Movatter.jp