Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] panicked with "No commit found" #247

Closed
genofire opened this issue Dec 21, 2022 · 7 comments
Closed

[BUG] panicked with "No commit found" #247

genofire opened this issue Dec 21, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@genofire
Copy link

Describe the bug
receive no commit found panik for old / non existing commitid

To Reproduce

  • commit a change
  • run cog check (successful)
  • amend/rebase last commit
  • run cog check --from-latest-tag --ignore-merge-commits
  • failed

Expected behavior
Works ...

@genofire genofire added the bug Something isn't working label Dec 21, 2022
@oknozor
Copy link
Collaborator

oknozor commented Dec 21, 2022

Can't reproduce locally, can you provide a detailed git log before and after the amending the commit ?
Something like git log --graph --abbrev-commit --decorate --all.

@genofire
Copy link
Author

Hmm, that appears sometime in your gitlab pipelines ... I look forward to find a better solution for reproduce ....

I got on my disk also not reproduce it ATM.

@oknozor
Copy link
Collaborator

oknozor commented Dec 21, 2022

Reminds me of this libgit2/libgit2#3058
Is your gitlab pipeline public ?

@genofire
Copy link
Author

Now i build also an public pipeline, where it failed:
https://gitlab.com/kukoon/mediathek/media-ui/-/jobs/3538884990

@oknozor
Copy link
Collaborator

oknozor commented Dec 31, 2022

@genofire
Copy link
Author

The Problem is, i maybe do not know - how many commits happen since last release / tag ...

@oknozor
Copy link
Collaborator

oknozor commented Jan 19, 2023

Closing since this is related to git2 shallow clone support and won't fix.

@oknozor oknozor closed this as completed Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants