projects
/
platform
/
upstream
/
rpm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- tsort prefers presentation order.
[platform/upstream/rpm.git]
/
gendiff
1
#!/bin/sh
2
3
[ -z "$1" -o -z "$2" ] && {
4
# usage
5
echo "usage: $0 <directory> <diff-extension>" 1>&2
6
exit 1
7
}
8
9
find $1 \( -name "*$2" -o -name ".*$2" \) -print |
10
while read f; do
11
U=-u
12
[ "${f##*/}" == "ChangeLog$2" ] && U=-U0
13
diff ${U} $f `echo $f | sed s/$2\$//`
14
done