4 # File ID: 45f660ac-fa5f-11dd-9262-0001805bf4b1
5 # Latskapen lenge leve. Kjører en svn eller cvs diff og stripper bort alle
8 git log HEAD..HEAD
>/dev
/null
2>&1
9 if [ "$?" = "0" ]; then
14 if [ -d .svn
/.
]; then
15 if [ "$1" = "-s" ]; then
17 svn
diff $
* 2>/dev
/null |
grep -v '^\? ' |
egrep '^[+\-]' |
less -S
19 svn
diff $
* 2>/dev
/null |
grep -v '^\? ' |
less -S
21 elif [ -d CVS
/.
]; then
22 if [ "$1" = "-s" ]; then
24 cvs
-n diff -u $
* 2>/dev
/null |
grep -v '^\? ' |
egrep '^[+\-]' |
less -S
26 cvs
-n diff -u $
* 2>/dev
/null |
grep -v '^\? ' |
less -S