diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-17 09:37:53 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-17 09:37:53 +0000 |
commit | 287b8403ce93791cc635a11ba1d8cc5e6885c19b (patch) | |
tree | 12c53d59aa5b03ed7ce8133129903afe7761e41c | |
parent | 6830c11aa8d42dad81e1040dab5415caf0c92d31 (diff) | |
download | portage-287b8403ce93791cc635a11ba1d8cc5e6885c19b.tar.gz portage-287b8403ce93791cc635a11ba1d8cc5e6885c19b.tar.bz2 portage-287b8403ce93791cc635a11ba1d8cc5e6885c19b.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. (trunk r11980)
svn path=/main/branches/2.1.6/; revision=11981
-rwxr-xr-x | bin/repoman | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman index 2c0134766..76f01a4a0 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: |