[Cryptech-Commits] [user/sra/aes_merged] 45/45: Clean-up ill-advised fork of core/cipher/aes.

git at cryptech.is git at cryptech.is
Wed Jan 9 16:33:02 UTC 2019


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository user/sra/aes_merged.

commit 9590720514b597c66f9524eef6615335e766091a
Merge: 833921d 1ad1120
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Wed Jan 9 11:07:05 2019 -0500

    Clean-up ill-advised fork of core/cipher/aes.
    
    For reasons which seemed to make sense at the time but of which he has
    long since repented, Joachim forked the core/cipher/aes repository to
    a new core/cipher/aes_speed repository rather than just branching.
    After some discussion, we decided to repair this.
    
    Summary of repair:
    
    1) Create new empty repository, add both core/cipher/aes and
       core/cipher/aes_speed as remotes.
    
    2) Identify commit in core/cipher/aes from which core/cipher/aes_speed
       was forked (determined by log inspection and comparison of the diff
       size between commits in aes/master and aes_speed/master).
    
    3) Splice the trees using a terrifying git command:
    
          git checkout -b master aes_speed/master
    
          git filter-branch \
              --commit-filter 'git commit-tree -S${keyid} "$@"' \
              --parent-filter "sed 's/^\$/-p ${fork_point}/'" \
              master
    
       where ${keyid} is the GPG key ID of the person doing the repair
       work and ${fork_point} is the ID of the commit in core/cipher/aes
       from which core/cipher/aes_speed was forked.
    
    4) Merge the filtered master branch created above to aes/master with
       `-s our` so that the master branch going forward will be the
       content from core/cipher/aes_speed.




More information about the Commits mailing list