-
Notifications
You must be signed in to change notification settings - Fork 534
git push new branch with depth=1 #455
Comments
How are you doing the |
@joshbetz Thank you for reporting this. We'll look into it. |
@smola Thank you! Let me know if you have any questions about reproducing the issue I'm having. I tried debugging it for a while, but couldn't quite follow the logic in |
Hi there, experiencing the same issue. When going into the respective directory and doing the git push manually using the normal Linux git client afterwards it works. It's the same with another depth used during the clone (tried 2 or 3). So I removed Depth option from the clone command but now the clone command needs a lot more time (which is expected) but also the push after just changing a single file is running veeery long. |
@joshbetz how are you doing the |
|
Thanks for fixing the issue. What do you think @mcuadros when it can be pushed to the v4 branch ? |
was this actually fixed? i'm getting the same issue when doing a shallow fetch, followed by a push. go-git version
results in |
Pushing a new branch after cloning with depth=1 doesn't seem to work. I get
object not found
. The problem seems to be inrevlist.Object()
-- at least that's where the error happens. As best I can tell, I think it's trying to verify too much of the tree. This same thing works with git:The text was updated successfully, but these errors were encountered: