From: Zac Medico Date: Mon, 17 Nov 2008 09:36:46 +0000 (-0000) Subject: When committing manifests, specify the manifest paths instead of using git X-Git-Tag: v2.2_rc15~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d9d625a58a45b1f16ea37a86292b76fde342f68;p=portage.git When committing manifests, specify the manifest paths instead of using git commit -a, since we may not want to commit all dirty files in the whole repo. Thanks to Robin Johnson for reporting. svn path=/main/trunk/; revision=11980 --- diff --git a/bin/repoman b/bin/repoman index 8c0440f13..42008d5d1 100755 --- a/bin/repoman +++ b/bin/repoman @@ -2061,9 +2061,8 @@ else: commit_cmd.extend(vcs_global_opts) commit_cmd.append("commit") commit_cmd.extend(vcs_local_opts) - if vcs == "git": - commit_cmd.append("-a") commit_cmd.extend(["-F", commitmessagefile]) + commit_cmd.extend(f.lstrip("./") for f in mymanifests) try: if options.pretend: @@ -2141,9 +2140,8 @@ else: commit_cmd.extend(vcs_global_opts) commit_cmd.append("commit") commit_cmd.extend(vcs_local_opts) - if vcs == "git": - commit_cmd.append("-a") commit_cmd.extend(["-F", commitmessagefile]) + commit_cmd.extend(f.lstrip("./") for f in mymanifests) try: if options.pretend: