[PATCH] import: fix handling of init.defaultBranch

2024-03-10 Thread Eric Wong
Eric Wong wrote: > Will try to fix ASAP but offline problems persist :< Fortunately it turned out to be a simple fix :x ---8<--- Subject: [PATCH] import: fix handling of init.defaultBranch We must chomp the newline in the branch name if it's set. Reported-by: Rob Herring Link:

Re: crash on git-fast-import

2024-03-10 Thread Eric Wong
Rob Herring wrote: > Most Recent Commands Before Crash > - > blob > mark :1 > data 12367 > get-mark :1 > reset refs/heads/main Ah, it looks like init.defaultBranch != master is completely broken :x You should be able to workaround the problem by