[PATCH] D143300: [randstruct] Don't allow implicit forward decl to stop struct randomization

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 6 22:22:02 PST 2023


void added a comment.

In D143300#4108500 <https://reviews.llvm.org/D143300#4108500>, @haowei wrote:

> FYI, this patch looks like was pushed into a new "Main" branch instead of the actual "main" branch.:
>
>   commit f85a9a6452e8f49f9768d66a86434a88a5891614 (origin/Main)
>   Author: Bill Wendling <morbo at google.com>
>   Date:   Mon Feb 6 14:26:16 2023 -0800
>   
>       [randstruct] Don't allow implicit forward decl to stop struct randomization
>
> It causes git checkout failures on Windows, see error message:
>
>   warning: encountered old-style '/ssl/certs/ca-bundle.crt' that should be '%(prefix)//ssl/certs/ca-bundle.crt'
>   From https://llvm.googlesource.com/a/llvm-project
>    * [new branch]                Main       -> Main
>   error: cannot lock ref 'refs/heads/main': is at f85a9a6452e8f49f9768d66a86434a88a5891614 but expected abbd256a810a0b0c92dda88a3050fc85cb604a9c
>    ! abbd256a810a..14ca2e68ff4c  main       -> main  (unable to update local ref)
>
> Windows use case aware but insensitive filesystem and 2 "main" branches will not work out.
> See explanation at https://stackoverflow.com/questions/10068640/git-error-on-git-pull-unable-to-update-local-ref/66832220#66832220
> I will attempt deleting the "Main" branch to correct this error.

Sorry about this. I thought I stopped the commit before it finished. :-(


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143300/new/

https://reviews.llvm.org/D143300



More information about the cfe-commits mailing list