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

bin/repoman

index 7abbcdb5f7ca8946f93dca550a5ae3cdba70c460..c4225a5c9df174a4bcb7a6a2b49d59070f902533 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: