summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-17 09:36:46 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-17 09:36:46 +0000
commit5d9d625a58a45b1f16ea37a86292b76fde342f68 (patch)
tree1c854e0c0dc11baa6113a4ab091f2787c066c4ee
parent6c6431cc825f3d1a4f0ca584b555c14361393885 (diff)
downloadportage-5d9d625a58a45b1f16ea37a86292b76fde342f68.tar.gz
portage-5d9d625a58a45b1f16ea37a86292b76fde342f68.tar.bz2
portage-5d9d625a58a45b1f16ea37a86292b76fde342f68.zip
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 <robbat2@g.o> for reporting. svn path=/main/trunk/; revision=11980
-rwxr-xr-xbin/repoman6
1 files changed, 2 insertions, 4 deletions
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: