Raw
1 2 git config filter.rot13.smudge ./rot13.sh &&
2 3 git config filter.rot13.clean ./rot13.sh &&
3 4
4 5 {
5 6 echo "*.t filter=rot13" ?!LINT: missing '&&'?!
6 7 echo "*.i ident"
7 8 } >.gitattributes &&
8 9
9 10 {
10 11 echo a b c d e f g h i j k l m ?!LINT: missing '&&'?!
11 12 echo n o p q r s t u v w x y z ?!LINT: missing '&&'?!
12 13 echo '$Id$'
13 14 } >test &&
14 15 cat test >test.t &&
15 16 cat test >test.o &&
16 17 cat test >test.i &&
17 18 git add test test.t test.i &&
18 19 rm -f test test.t test.i &&
19 20 git checkout -- test test.t test.i &&
20 21
21 22 echo "content-test2" >test2.o &&
22 23 echo "content-test3 - filename with special characters" >"test3 'sq',$x=.o" ?!LINT: missing '&&'?!
23 24
24 25 downstream_url_for_sed=$(
25 26 printf "%sn" "$downstream_url" |
26 27 sed -e 's/\/\\/g' -e 's/[[/.*^$]/\&/g'
27 28 )