1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

Minor code cleanup and robustness improvement.

- scripts/gitsch2ppm, scripts/schhist2web: replace awkward and cryptic
  `dirname "$x"`/`basename "$x" .old`.new
  construct with much more friendly "${x%.old}.new"
- scripts/gitenealogy: put -- before path names in git-log, to prevent
  parsing ambiguities
This commit is contained in:
Werner Almesberger
2010-08-28 23:12:27 -03:00
parent b3728b5c54
commit 3ca646cd57
3 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ if [ ! -f "$1/$2" ]; then
fi
cd "$1" || exit
git log --follow --name-status "$2" |
git log --follow --name-status -- "$2" |
awk '
/^commit /{ if (c) print c, n; c = $2 }
{ if (NF) n = $(NF) }