Re: [PATCH 06/19] git_remote_helpers: push all refs during a non-local export
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jun 8, 2011, 19:42 UTC
- Message-ID
- <20110608194205.GI27715@elie>
- In-Reply-To
- <1307558930-16074-7-git-send-email-srabbelier@gmail.com>
Sverre Rabbelier wrote:
Show 9 quoted lines
> --- a/git_remote_helpers/git/non_local.py
> +++ b/git_remote_helpers/git/non_local.py
> @@ -63,7 +63,7 @@ class NonLocalGit(object):
> if not os.path.exists(path):
> die("could not find repo at %s", path)
>
> - args = ["git", "--git-dir=" + path, "push", "--quiet", self.repo.gitpath]
> + args = ["git", "--git-dir=" + path, "push", "--quiet", self.repo.gitpath, "--all"]
> child = subprocess.Popen(args)Does this deal with forced (non-fast-forward) pushes? (Not a complaint, just curious.)