Skip to content

Fix "unknown branch ..." warning - #28

Open
aff3npirat wants to merge 1 commit into
motis-project:masterfrom
aff3npirat:fix-unknown-branch
Open

Fix "unknown branch ..." warning#28
aff3npirat wants to merge 1 commit into
motis-project:masterfrom
aff3npirat:fix-unknown-branch

Conversation

@aff3npirat

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/git.cc
}

if (!commit_exists(d, d->commit_)) {
if (!commit_exists(d, d->commit_) || !commit_exists(d, d->branch_)) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we might just remove branch information from .pkg all together as it's not needed? Commit is more precise than branch already.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think that would make sense. The only reason I see for branches is that we can select what is fetched from upstream.

@aff3npirat aff3npirat mentioned this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants