Browse Source

[sde-commit] Cleaned commit-message.awk to not hide ' - ' inside the title variable

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
38a590209f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/sde-commit/commit-message.awk

+ 2
- 2
lib/sde-commit/commit-message.awk

@ -16,7 +16,7 @@
BEGIN { FS="[ /]" }
/^\+\+\+ / { pkg = $4 }
{ if (sub(/^\+\[I\]/," -") ) { info = $0 } }
{ if (sub(/^\+\[I\] /,"") ) { title = $0 } }
/^\-\[V\] / { oldver=$2 }
/^\+\[V\] / {
@ -24,7 +24,7 @@ BEGIN { FS="[ /]" }
if ( oldver )
print "[" pkg "] Updated (" oldver " -> " newver ")"
else {
print "[" pkg "] Added " pkg " " newver " - " info
print "[" pkg "] Added " pkg " " newver " - " title
}
oldver="" ; newver="" ; info=""
}

Loading…
Cancel
Save