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
set-parent
returns panic: runtime error: index out of range [0] with length 0
#2562
Comments
Thanks for sending this bug report and sorry for the problem! I can see the issue in the codebase. I'd like to reproduce the problem to make sure the fix works on your machine. Can you please post the output of running Using a custom Git hosting service shouldn't be a problem as long as it is at the Btw (pro tip) you shouldn't need to run |
Thanks kev! Sorry about the late response. Here is the partial response from
I work on a massive codebase, so the actual result is extremely long (thousands of remote branches). I wonder if this is because of that? I really only care about remote branches that are prefixed with my branches ( The stack I want is:
As for langauage, i've never modified the language here, but this is what i get:
Also thank you for the tip for git sync! |
Hmm, that's really strange. Below is the format I get on my machines (and what Git Town expects). Have you configured Git in special ways, or set up any filters or aliases for Git commands? Support for large monorepos is definitely on Git Town's roadmap. Any feedback of problems you run into are appreciated!
|
Hm, everything should be out of the box. I haven't really done anything special, I don't think... What about specifying the format that git-town expects? If i do:
|
Hey Amir, I have just merged a preliminary fix for this issue. Also some code that will print additional output when this problem happens again. Both will be released as v10 soon. Thanks! |
Thanks! Can't wait to try it :). I've switched to git machete for the time being. Thank you for addressing so fast! |
Btw @kevgo , any timeline for v10? |
@heyitsaamir v10 is ready to go. I did some QA the last couple of days to verify that everything works ... on my machine 😆. I was setting up some more release automation but that'll take at least a few more days. So I think I'm going to make a manual release tomorrow. |
Amazing! Can't wait :) |
v10 is out, please take it for a spin! As I said earlier, I think I have fixed only half the problem. If the issue still occurs, the error message should be different/more precise. Please share it here, so that we'll corner this bug together. |
All i did was install git-town (my first time), and try to run
git town set-parent
.I'm also using an internal-hosted version of git (so not it's not github, gitlab etc). Does this matter?
The text was updated successfully, but these errors were encountered: