projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f4ecc
)
unify the format of changelog entry
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Tue, 7 Aug 2012 07:38:35 +0000
(15:38 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 9 Aug 2012 01:55:05 +0000
(09:55 +0800)
gitbuildsys/cmd_changelog.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_changelog.py
b/gitbuildsys/cmd_changelog.py
index
a6bf32c
..
178087e
100644
(file)
--- a/
gitbuildsys/cmd_changelog.py
+++ b/
gitbuildsys/cmd_changelog.py
@@
-137,7
+137,7
@@
def do(opts, _args):
if opts.message:
author = repo.get_author_info()
- lines = ["
-
%s" % line for line in opts.message.split(os.linesep) \
+ lines = ["
-
%s" % line for line in opts.message.split(os.linesep) \
if line.strip()]
new_entries = ["* %s %s <%s> %s" % \
(datetime.datetime.now().strftime("%a %b %d %Y"),