From a452cdb70445d06abe68d52bdcd1a7cdb5bb93b0 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Tue, 11 Jun 2013 22:29:05 +0100 Subject: [PATCH] In fact, don't commit those at all, generating 800 commits is silly --- fdroidserver/checkupdates.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.30.2