From: Ciaran Gultnieks Date: Tue, 11 Jun 2013 21:29:05 +0000 (+0100) Subject: In fact, don't commit those at all, generating 800 commits is silly X-Git-Tag: 0.1~538 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a452cdb70445d06abe68d52bdcd1a7cdb5bb93b0;p=fdroidserver.git In fact, don't commit those at all, generating 800 commits is silly --- diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 142990d2..6f892fe9 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -285,7 +285,6 @@ def main(): app['Auto Name'] = new_name if not writeit: writeit = True - logmsg = "Update auto name of " + app['id'] + " to " + new_name if options.auto: mode = app['Auto Update Mode'] @@ -324,7 +323,7 @@ def main(): if writeit: metafile = os.path.join('metadata', app['id'] + '.txt') common.write_metadata(metafile, app) - if options.commit: + if options.commit and logmsg: if subprocess.call("git add " + metafile, shell=True) != 0: print "Git add failed" sys.exit(1)