From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Horn Subject: [PATCH 6/6] Remove 'for-push' from ref list attributes list, link to subsections Date: Tue, 27 Nov 2012 18:44:39 +0100 Message-ID: <1354038279-76475-7-git-send-email-max@quendi.de> References: <1354038279-76475-1-git-send-email-max@quendi.de> Cc: Max Horn To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Nov 27 18:45:40 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TdPE2-0003a2-4R for gcvg-git-2@plane.gmane.org; Tue, 27 Nov 2012 18:45:38 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756707Ab2K0RpF (ORCPT ); Tue, 27 Nov 2012 12:45:05 -0500 Received: from wp256.webpack.hosteurope.de ([80.237.133.25]:45258 "EHLO wp256.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756641Ab2K0RpD (ORCPT ); Tue, 27 Nov 2012 12:45:03 -0500 Received: from ip-178-200-227-112.unitymediagroup.de ([178.200.227.112] helo=localhost.localdomain); authenticated by wp256.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1TdPDP-00080S-AN; Tue, 27 Nov 2012 18:44:59 +0100 X-Mailer: git-send-email 1.8.0.393.gcc9701d In-Reply-To: <1354038279-76475-1-git-send-email-max@quendi.de> X-bounce-key: webpack.hosteurope.de;max@quendi.de;1354038302;a61156d0; Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: The documentation was misleading in that it gave the impression that 'for-push' could be used as a ref attribute in the output of the 'list' command. That is wrong. Signed-off-by: Max Horn --- Documentation/git-remote-helpers.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/git-remote-helpers.txt b/Documentation/git-remote-helpers.txt index 023dcca..081cb06 100644 --- a/Documentation/git-remote-helpers.txt +++ b/Documentation/git-remote-helpers.txt @@ -227,6 +227,8 @@ Support for this command is mandatory. the name; unrecognized attributes are ignored. The list ends with a blank line. + +See REF LIST ATTRIBUTES for a list of currently defined options. ++ Supported if the helper has the "fetch" or "import" capability. 'list for-push':: @@ -248,6 +250,8 @@ Supported if the helper has the "push" or "export" capability. for it). Options should be set before other commands, and may influence the behavior of those commands. + +See OPTIONS for a list of currently defined options. ++ Supported if the helper has the "option" capability. 'fetch' :: @@ -256,7 +260,7 @@ Supported if the helper has the "option" capability. per line, terminated with a blank line. Outputs a single blank line when all fetch commands in the same batch are complete. Only objects which were reported - in the ref list with a sha1 may be fetched this way. + in the output of 'list' with a sha1 may be fetched this way. + Optionally may output a 'lock ' line indicating a file under GIT_DIR/objects/pack which is keeping a pack until refs can be @@ -360,10 +364,9 @@ capabilities reported by the helper. REF LIST ATTRIBUTES ------------------- -'for-push':: - The caller wants to use the ref list to prepare push - commands. A helper might chose to acquire the ref list by - opening a different type of connection to the destination. +The 'list' command produces a list of refs in which each ref +may be followed by a list of attributes. The following ref list +attributes are defined. 'unchanged':: This ref is unchanged since the last import or fetch, although -- 1.8.0.393.gcc9701d