dir='x' ; git init "$dir" && cd "$dir" && git commit --allow-empty -m 'Init' && git reset "$(git cat-file -p HEAD|awk -v tentacles=$((2**16)) -v hash="$(git rev-parse HEAD)" -v ts="$(printf '%(%s)T' -1)" '/^tree /{print;while (tentacles-->0)printf("parent %s\n",hash);next};/^(author|committer) /{$(NF-1)=ts};/^Init/{sub(/.*/,"HORROR")};1'|git hash-object -t commit -w --stdin)"
Conversation
Notices
- 
            Ben Zanin (gnomon@mastodon.social)'s status on Wednesday, 26-Jun-2019 17:57:26 EDT  Ben Zanin Ben Zanin- 
              Ben Zanin (gnomon@mastodon.social)'s status on Thursday, 27-Jun-2019 08:41:31 EDT  Ben Zanin Ben ZaninThe above monstrosity creates an empty repo with two commits in it, an initial commit and then a merge commit. The merge commit is odd in two significant ways: 1. every one of its parent commits are the same, they're all the initial empty commit 
 2. the merge commit has 65,536 parent commitsRunning 'git log --graph' in the repo is _hilarious_ - 
                Ben Zanin (gnomon@mastodon.social)'s status on Thursday, 27-Jun-2019 08:42:18 EDT  Ben Zanin Ben ZaninI would say "blame @JordiGH" but that's not fair, it's not actually his fault Mostly not 
 
- 
                
 
- 
              
 
      All Jonkman Microblog content and data are available under the
 All Jonkman Microblog content and data are available under the