Files
delta-mirror/etc/examples/140-within-line-edits-counter-example
2020-08-05 16:37:09 -04:00

29 lines
303 B
Bash
Executable File

#!/bin/bash
repo=$(mktemp -d)
cd $repo
git init
git commit --allow-empty -m "Initial commit"
cat > file <<EOF
aaaa a aaa
bbbb b bbb
cccc c ccc
EOF
git add file
git commit -m "Base commit"
cat > file <<EOF
bbbb ! bbb
dddd d ddd
cccc ! ccc
EOF
git add file
git commit -m "Changes"
git log --patch