Debian Codegraph @

etc/examples/60-submodule

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 submodule=$(mktempscip-shell system . . mktemp. -d)
4 repo=$(mktempscip-shell system . . mktemp. -d)
5 cd $submodule
6 gitscip-shell system . . git. init
7 gitscip-shell system . . git. commit --allow-empty -m "Initial commit"
8 cd $repo
9 gitscip-shell system . . git. init
10 gitscip-shell system . . git. submodule add $submodule submodule
11 gitscip-shell system . . git. commit --allow-empty -m "Initial commit"
12 touchscip-shell system . . touch. submodule/a
13 catscip-shell system . . cat. >> .git/config <<EOF
14 [diff]
15 submodule = log
16 EOF
17 gitscip-shell system . . git. diff | catscip-shell system . . cat.