From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.4 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 1AF691F54E for ; Sun, 14 Aug 2022 10:01:09 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=t-8ch.de header.i=@t-8ch.de header.b="USvz8I27"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231249AbiHNKA3 (ORCPT ); Sun, 14 Aug 2022 06:00:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbiHNKA0 (ORCPT ); Sun, 14 Aug 2022 06:00:26 -0400 X-Greylist: delayed 361 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 14 Aug 2022 03:00:23 PDT Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E65A0BCA0 for ; Sun, 14 Aug 2022 03:00:22 -0700 (PDT) From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=t-8ch.de; s=mail; t=1660470858; bh=V0q7F0czR4SdfYrxRN9Yli1S3M6Z1FxGeaadYBKXzm8=; h=From:To:Cc:Subject:Date:From; b=USvz8I27YU5HJZhjQhKv4Csh9w6lLEWv0Eu1tKI9000h1SwY2xyF/PRoXhyInLtN2 Bc/rK458teWef64ioHYT/+Ru4qjdsH0uRk/9ObdDlTdIBenEsEKDvxUfDnbZSV/hfd MoHImm4hW3MOz/ACpqouiEDaWeNJ/xEA/mJnm9Ak= To: git@vger.kernel.org Cc: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Subject: [PATCH] Documentation: mention the magic pathspec ":/" Date: Sun, 14 Aug 2022 11:52:53 +0200 Message-Id: <20220814095253.3422612-1-thomas@t-8ch.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Signed-off-by: Thomas Weißschuh --- Documentation/gitcli.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/gitcli.txt b/Documentation/gitcli.txt index 1819a5a185..a421855bdb 100644 --- a/Documentation/gitcli.txt +++ b/Documentation/gitcli.txt @@ -78,6 +78,8 @@ you will. using a '.' as a repository name in Git (a dot-repository) is a relative path and means your current repository. + * The magic pathspec `:/` refers to the root of the working tree. + Here are the rules regarding the "flags" that you should follow when you are scripting Git: base-commit: afa70145a25e81faa685dc0b465e52b45d2444bd -- 2.37.2