mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
In fact, don't commit those at all, generating 800 commits is silly
This commit is contained in:
parent
223d79f372
commit
a452cdb704
1 changed files with 1 additions and 2 deletions
|
@ -285,7 +285,6 @@ def main():
|
||||||
app['Auto Name'] = new_name
|
app['Auto Name'] = new_name
|
||||||
if not writeit:
|
if not writeit:
|
||||||
writeit = True
|
writeit = True
|
||||||
logmsg = "Update auto name of " + app['id'] + " to " + new_name
|
|
||||||
|
|
||||||
if options.auto:
|
if options.auto:
|
||||||
mode = app['Auto Update Mode']
|
mode = app['Auto Update Mode']
|
||||||
|
@ -324,7 +323,7 @@ def main():
|
||||||
if writeit:
|
if writeit:
|
||||||
metafile = os.path.join('metadata', app['id'] + '.txt')
|
metafile = os.path.join('metadata', app['id'] + '.txt')
|
||||||
common.write_metadata(metafile, app)
|
common.write_metadata(metafile, app)
|
||||||
if options.commit:
|
if options.commit and logmsg:
|
||||||
if subprocess.call("git add " + metafile, shell=True) != 0:
|
if subprocess.call("git add " + metafile, shell=True) != 0:
|
||||||
print "Git add failed"
|
print "Git add failed"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue