From: "Bert Wesarg" <bert.wesarg@googlemail.com>
To: "Daniel Barkalow" <barkalow@iabervon.org>
Cc: git@vger.kernel.org, "Junio C Hamano" <gitster@pobox.com>
Subject: Re: [RFC PATCH 1/3] Add "vcs" config option in remotes
Date: Mon, 12 Jan 2009 10:52:04 +0100 [thread overview]
Message-ID: <36ca99e90901120152t7756e6d4n19521cbb7336c5fb@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.1.00.0901110332580.19665@iabervon.org>
On Sun, Jan 11, 2009 at 21:12, Daniel Barkalow <barkalow@iabervon.org> wrote:
> diff --git a/builtin-push.c b/builtin-push.c
> index 122fdcf..3fdedba 100644
> --- a/builtin-push.c
> +++ b/builtin-push.c
> @@ -53,6 +53,9 @@ static int do_push(const char *repo, int flags)
> int i, errs;
> struct remote *remote = remote_get(repo);
>
> + if (remote->foreign_vcs)
> + die("Pushing with foreign VCSes not supported.");
> +
> if (!remote)
> die("bad repository '%s'", repo);
>
Use of remote before NULL check.
Bert
next prev parent reply other threads:[~2009-01-12 9:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-11 20:12 [RFC PATCH 1/3] Add "vcs" config option in remotes Daniel Barkalow
2009-01-12 1:29 ` Ping Yin
2009-01-12 1:32 ` Daniel Barkalow
2009-01-12 9:52 ` Bert Wesarg [this message]
2009-01-12 17:25 ` Daniel Barkalow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36ca99e90901120152t7756e6d4n19521cbb7336c5fb@mail.gmail.com \
--to=bert.wesarg@googlemail.com \
--cc=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).