1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

In fact, don't commit those at all, generating 800 commits is silly

This commit is contained in:
Ciaran Gultnieks 2013-06-11 22:29:05 +01:00
parent 223d79f372
commit a452cdb704

View 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)