Module: check_mk
Branch: master
Commit: bf772ad89fda7ca74290dfe9fdeb1c642028b1bb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bf772ad89fda7c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Oct 21 10:07:58 2011 +0200
gb: add bug ids to commit message
---
gb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gb b/gb
index 89c07ec..94c5210 100755
--- a/gb
+++ b/gb
@@ -494,7 +494,8 @@ def main_commit(args):
sys.stdout.write("Commiting:\n")
for id in g_modified:
list_bug(g_bugs[id])
- if 0 == os.system("git commit -m 'Updated bug entries' ."):
+ if 0 == os.system("git commit -m 'Updated bug entries %s' ." %
(
+ ", ".join(["#%04d" % id for id in g_modified]))):
sys.stdout.write("--> Successfully committed %d bugs.\n" %
len(g_modified))
else:
bail_out("Cannot commit.")