git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rpmsafe: realpath fixes
[nethome.git]
/
bin
/
cvsbranchdiff
diff --git
a/bin/cvsbranchdiff
b/bin/cvsbranchdiff
index
b6dcf24
..
cf627a3
100755
(executable)
--- a/
bin/cvsbranchdiff
+++ b/
bin/cvsbranchdiff
@@
-4,7
+4,7
@@
if [ $# = 0 ];then
if [ $# = 0 ];then
- echo 'currendir == CVS (old) version; $1 == dir w/new version; [$2 == "print"]'
+ echo 'curren
t
dir == CVS (old) version; $1 == dir w/new version; [$2 == "print"]'
exit 1
fi
exit 1
fi
@@
-18,7
+18,7
@@
function findnice
}
(findnice . ;echo "/") >$t/old
(findnice "$1" ) >$t/new
}
(findnice . ;echo "/") >$t/old
(findnice "$1" ) >$t/new
-diff -
u
999999 $t/old $t/new|sed -e '1,/^@@.*@@$/d' >$t/diff
+diff -
U
999999 $t/old $t/new|sed -e '1,/^@@.*@@$/d' >$t/diff
if [ "$2" = print ];then
grep '^[+-]' $t/diff
exit 0
if [ "$2" = print ];then
grep '^[+-]' $t/diff
exit 0