[Lazarus] Faster than popcnt [[Re: UTF8LengthFast returning incorrect results on AARCH64 (MacOS)]]

Florian Klämpfl florian at freepascal.org
Wed Dec 29 14:30:28 CET 2021


Am 29.12.2021 um 13:42 schrieb Marco van de Voort via lazarus:
> 
> p.s. is there a workaround for git worktree to work on the same branch? E.g. trunk for 32-bit and trunk for 64-bit ? :-)
> 

No. You cannot checkout the same branch in two worktrees. But you can do the following: create a new branch in both 
worktrees and check them out (main_32bit and main_64bit), do in both directories: work, commit, pull, checkout main, 
merge the branch, push:

cd git/fpc/main1
git checkout -b main_32bit
git worktree add ../main2 -b main_64bit

<do you work in both directories>

<commit both>

cd main1
git checkout main
git pull
git merge main_32bit
git push

cd ../main2
git checkout main
git pull
git merge main_64bit
git push


More information about the lazarus mailing list