From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Moy Subject: [PATCH] Fix incorrect wording in git-merge.txt. Date: Mon, 3 Mar 2008 18:14:43 +0100 Message-ID: <1204564483-5260-1-git-send-email-Matthieu.Moy@imag.fr> Cc: Matthieu Moy To: git@vger.kernel.org, gitster@pobox.com X-From: git-owner@vger.kernel.org Mon Mar 03 18:24:04 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JWEOR-0006O4-7V for gcvg-git-2@gmane.org; Mon, 03 Mar 2008 18:24:03 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758749AbYCCRWB (ORCPT ); Mon, 3 Mar 2008 12:22:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757060AbYCCRWA (ORCPT ); Mon, 3 Mar 2008 12:22:00 -0500 Received: from imag.imag.fr ([129.88.30.1]:47057 "EHLO imag.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762201AbYCCRV7 (ORCPT ); Mon, 3 Mar 2008 12:21:59 -0500 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by imag.imag.fr (8.13.8/8.13.8) with ESMTP id m23HEjvg009698 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 3 Mar 2008 18:14:45 +0100 (CET) Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1JWEFP-0000xK-D6; Mon, 03 Mar 2008 18:14:43 +0100 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1JWEFP-0001NP-AJ; Mon, 03 Mar 2008 18:14:43 +0100 X-Mailer: git-send-email 1.5.4.21.g82c44 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (imag.imag.fr [129.88.30.1]); Mon, 03 Mar 2008 18:14:45 +0100 (CET) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: A merge is not necessarily with a remote branch, it can be with any commit object. --- Documentation/git-merge.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Documentation/git-merge.txt b/Documentation/git-merge.txt index 0c9ad7f..193c9c0 100644 --- a/Documentation/git-merge.txt +++ b/Documentation/git-merge.txt @@ -68,7 +68,8 @@ HOW MERGE WORKS --------------- A merge is always between the current `HEAD` and one or more -remote branch heads, and the index file must exactly match the +commit objects (usually, branch head or tag), and the index file must +exactly match the tree of `HEAD` commit (i.e. the contents of the last commit) when it happens. In other words, `git-diff --cached HEAD` must report no changes. -- 1.5.4.21.g82c44