Add missing -a option for git commits.
authorZac Medico <zmedico@gentoo.org>
Mon, 17 Nov 2008 08:58:16 +0000 (08:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 17 Nov 2008 08:58:16 +0000 (08:58 -0000)
svn path=/main/trunk/; revision=11976

bin/repoman

index 34f88557fa05a51bd6f5a438f277aca586fd0d02..653bb9517ab47399e53eb057f395e6de159168d9 100755 (executable)
@@ -2057,7 +2057,7 @@ else:
                                if vcs == "svn":
                                        print "(svn -q commit -F commitmessagefile)"
                                elif vcs == "git":
-                                       print "(git commit -F commitmessagefile)"
+                                       print "(git commit -a -F commitmessagefile)"
                        else:
                                fd, commitmessagefile = tempfile.mkstemp(".repoman.msg")
                                mymsg = os.fdopen(fd, "w")
@@ -2069,7 +2069,7 @@ else:
                                if vcs == "svn":
                                        retval=os.system("svn -q commit -F "+commitmessagefile)
                                elif vcs == "git":
-                                       retval=os.system("git commit -F "+commitmessagefile)
+                                       retval=os.system("git commit -a -F "+commitmessagefile)
                                try:
                                        os.unlink(commitmessagefile)
                                except OSError: