[oe-commits] [openembedded-core] 19/28: scripts/oe-git-archive: fix pushing
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 25 11:04:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 35778dd27424276256569bc0111f5b8b196226fa
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Fri Mar 24 16:17:27 2017 +0200
scripts/oe-git-archive: fix pushing
Git arguments were badly laid out.
Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/oe-git-archive | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/oe-git-archive b/scripts/oe-git-archive
index 117118b..aef4ba1 100755
--- a/scripts/oe-git-archive
+++ b/scripts/oe-git-archive
@@ -231,9 +231,10 @@ def main(argv=None):
# Push data to remote
if args.push:
cmd = ['push', '--tags']
+ # If no remote is given we push with the default settings from
+ # gitconfig
if args.push is not True:
- cmd.extend(['--repo', args.push])
- cmd.append(branch_name)
+ cmd.extend([args.push, branch_name])
log.info("Pushing data to remote")
data_repo.run_cmd(cmd)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list