chiark / gitweb /
No quotes in --commit messages
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 1 Nov 2013 10:05:41 +0000 (11:05 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 1 Nov 2013 10:05:41 +0000 (11:05 +0100)
fdroidserver/checkupdates.py

index 1767d31beffb39c99c9bddc6ce1f10fb93a8f8b9..97bad1d0c7ab1dd2f8006342c3fdc588b3e3d3f8 100644 (file)
@@ -447,7 +447,7 @@ def main():
             if options.commit and logmsg:
                 print "Commiting update for " + metafile
                 if subprocess.call(["git", "commit", "-m",
-                    "'"+logmsg.replace("'", "\\'")+"'", "--", metafile]) != 0:
+                    logmsg, "--", metafile]) != 0:
                     print "Git commit failed"
                     sys.exit(1)