Skip to content
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

fix(git): broken line endings corrupt git index after weaver merge #2303

Merged
merged 1 commit into from
Feb 28, 2023

Commits on Feb 28, 2023

  1. fix(git): broken line endings corrupt git index after weaver merge

    Not yet sure if this will fix the issue, but based on my research this
    is the easiest and most probable solution.
    
    Leaving a "paper trail" of the magical git commands that were executed
    in order to have an idea in the future on how to fix potential negative
    side-effects that might come out of this later (not likely but if it
    does happen this should be immensely helpful information)
    
    Without further ado, the list of commands executed to achieve this diff:
    
    git rm --cached -r .
    
    git config core.autocrlf input
    
    git diff --cached --name-only -z | xargs -0 git add
    
    Fixes hyperledger#2302
    
    Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
    petermetz committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    18ed447 View commit details
    Browse the repository at this point in the history