chiark / gitweb /
In fact, don't commit those at all, generating 800 commits is silly
authorCiaran Gultnieks <ciaran@ciarang.com>
Tue, 11 Jun 2013 21:29:05 +0000 (22:29 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Tue, 11 Jun 2013 21:29:05 +0000 (22:29 +0100)
fdroidserver/checkupdates.py

index 142990d237ebc877a426cc71611a2cd347841a17..6f892fe99ef88d5ca028d37878113270ef3cbfb2 100644 (file)
@@ -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)