47LDHZZIGQWK57DYLKCYCICJXTLRNSGSN24HYIGSMM72DFMEULCAC
#!/usr/bin/env bash
set -x -e
source ./functions.sh
cd ..
rm -rf rubyX-tests
mkdir rubyX-tests
if [ -d ruby ]
then
cd ruby
git pull -a
cd ..
else
git clone https://github.com/ruby/ruby.git
fi
cp -Rp ruby rubyX-tests/rubyX-data
cd rubyX-tests/rubyX-data
pijul init .
for G in $(git log --pretty=format:%h --reverse); do
git checkout -q "$G"
add
record
done
rm -rf .git
cd ..
pijul clone rubyX-data rubyX-data2
eq 1 "$(diff -qr rubyX-data/ rubyX-data2/ | wc -l)"
cd ..
rm -rf rubyX-tests
echo "All OK."
#!/usr/bin/env bash
eq () {
if [ "$1" -ne "$2" ]; then
exit 63
fi
}
zero () {
if [ "$1" -ne 0 ]; then
exit 64
fi
}
add () {
pijul add -r .
}
record () {
pijul record -am"$G" 1> /dev/null
}
Lets record everything from ruby.
THE FREEDOM PUBLIC LICENSE
Version 1, January 2021
Copyright (C) 2021 Mike <tankf33der@disroot.org>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
THE FREEDOM PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT YOU WANT TO.