From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH v3 07/23] git_remote_helpers: push all refs during a non-local export Date: Sun, 17 Jul 2011 16:36:17 -0700 Message-ID: <7vzkkcxyxa.fsf@alter.siamese.dyndns.org> References: <1310821424-4750-1-git-send-email-srabbelier@gmail.com> <1310821424-4750-8-git-send-email-srabbelier@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jonathan Nieder , Jeff King , Git List , Daniel Barkalow , Ramkumar Ramachandra , "Dmitry Ivankov" To: Sverre Rabbelier X-From: git-owner@vger.kernel.org Mon Jul 18 01:36:27 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qiast-0004EW-8d for gcvg-git-2@lo.gmane.org; Mon, 18 Jul 2011 01:36:27 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756007Ab1GQXgV (ORCPT ); Sun, 17 Jul 2011 19:36:21 -0400 Received: from b-pb-sasl-quonix.pobox.com ([208.72.237.35]:38311 "EHLO smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755943Ab1GQXgV (ORCPT ); Sun, 17 Jul 2011 19:36:21 -0400 Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id E4B15433E; Sun, 17 Jul 2011 19:36:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=sasl; bh=Ueq90sh9ezPG18RFUSN7WND9FAk=; b=laesiVCq9Ufj2BBQqhSm qKEj5PgSzbTASQ2+B8XAjvfuMDH+4uq4WFSQw1xd2PM30tWjryWjAQs6oic2u8Eu Ply5v1t2rup/ZQ2jCgDetu2Ho8JMX4lzp77/DsfOqqcBF1tJ69qLrA+GBiodoF4B cYfXzdUxgUNuoy2p+eb5NcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; q=dns; s=sasl; b=XIwb0OS6m9SzEq3ajzFGrzvGEECCV7CQZ3LlCZHixz5r/O lLxP8ptG/Ckiq+RdvFspAZPWliWXhchrxquG9HXLfeq6d1TxVuIrFnVoSiUILddz 60mcvDxy7s3jloyAPlk/6ZoRfUZCCFrEdc19nP6aWWxEcN1glFZHHowbDYNWg= Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id DAC8E433D; Sun, 17 Jul 2011 19:36:19 -0400 (EDT) Received: from pobox.com (unknown [76.102.170.102]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 4C199433C; Sun, 17 Jul 2011 19:36:19 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 927C0ACC-B0CD-11E0-9BFA-1DC62E706CDE-77302942!b-pb-sasl-quonix.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Sverre Rabbelier writes: > From: Jeff King > > When a remote helper exports to a non-local git repo, the > steps are roughly: > > 1. fast-export into a local staging area; the set of > interesting refs is defined by what is in the fast-export > stream > > 2. git push from the staging area to the non-local repo > > In the second step, we should explicitly push all refs, not > just matching ones. This will let us push refs that do not > yet exist in the remote repo. > > Signed-off-by: Jeff King > Signed-off-by: Sverre Rabbelier > --- > > Unchanged There used to be "This does not deal with forced (not-fast-forward) pushes." at the end of the message, no?