MRY5JWSI7W4IFK22UGY54KSF67IGDOIA2XCM6ULMVIA2OZBUFN3QC
#!/usr/bin/env bash
set -x -e
source ./functions.sh
cd ..
rm -rf repo
rm -rf repo2
cp -Rp vim repo
cd repo
pijul init .
for G in $(git log --pretty=format:%h --reverse); do
git checkout -q "$G"
set -- src/*.c
[ -f "$1" ] || continue
pijul add -r src/*.c
pijul record -am"$G" 1> /dev/null
done
exit 0
git checkout master
cd ..
pijul clone repo repo2
zero $(diff -qr repo/src repo2/src | wc -l)
#!/usr/bin/env bash
eq () {
if [ "$1" -ne "$2" ]; then
exit 63
fi
}
zero () {
if [ "$1" -ne 0 ]; then
exit 64
fi
}
Test over 12k+ commits of VIM.