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