Debian Codegraph @

etc/examples/140-within-line-edits-counter-example

raw symbols SCIP
1 #!/bin/bash
2
3
4 repo=$(mktemp -d)
5 cd $repo
6
7 git init
8 git commit --allow-empty -m "Initial commit"
9
10 cat > file <<EOF
11 aaaa a aaa
12 bbbb b bbb
13 cccc c ccc
14 EOF
15
16 git add file
17 git commit -m "Base commit"
18
19 cat > file <<EOF
20 bbbb ! bbb
21 dddd d ddd
22 cccc ! ccc
23 EOF
24
25 git add file
26 git commit -m "Changes"
27
28 git log --patch