Debian Codegraph @

etc/examples/119-within-line-edits

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3
4 repo=$(mktempscip-shell system . . mktemp. -d)
5 cd $repo
6
7 gitscip-shell system . . git. init
8 gitscip-shell system . . git. commit --allow-empty -m "Initial commit"
9
10 catscip-shell system . . cat. > file1.js <<EOF
11 {
12 if(g_themeController == nullptr)
13 {
14 EOF
15
16 catscip-shell system . . cat. > file2.js <<EOF
17 myColor = color === control.palette.window ? themeController.themePalette.buttonColor
18 : themeController.themePalette.windowColor
19 EOF
20
21 gitscip-shell system . . git. add file1.js file2.js
22 gitscip-shell system . . git. commit -m "Base commit"
23
24 catscip-shell system . . cat. > file1.js <<EOF
25 {
26 if(g_themeViewModel == nullptr)
27 {
28 EOF
29
30 catscip-shell system . . cat. > file2.js <<EOF
31 myColor = color === control.palette.window ? themeViewModel.themePalette.basicBase
32 : themeViewModel.themePalette.windowColor
33 EOF
34
35 gitscip-shell system . . git. add file1.js file2.js
36 gitscip-shell system . . git. commit -m "Changes"
37
38 gitscip-shell system . . git. log --patch