From patchwork Mon May 25 14:41:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Toon Claes X-Patchwork-Id: 11568967 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 776391392 for ; Mon, 25 May 2020 14:49:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 698DC20888 for ; Mon, 25 May 2020 14:49:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390956AbgEYOtb (ORCPT ); Mon, 25 May 2020 10:49:31 -0400 Received: from outbound.soverin.net ([116.202.65.218]:34347 "EHLO outbound.soverin.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390911AbgEYOtb (ORCPT ); Mon, 25 May 2020 10:49:31 -0400 X-Greylist: delayed 400 seconds by postgrey-1.27 at vger.kernel.org; Mon, 25 May 2020 10:49:30 EDT Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id CC7D96093C; Mon, 25 May 2020 14:42:55 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net From: Toon Claes To: git@vger.kernel.org Cc: sandals@crustytoothpaste.net, Toon Claes Subject: [PATCH 1/1] Documentation: correct hash environment variable Date: Mon, 25 May 2020 16:41:38 +0200 Message-Id: <20200525144138.1624272-2-toon@iotcl.com> In-Reply-To: <20200525144138.1624272-1-toon@iotcl.com> References: <20200525144138.1624272-1-toon@iotcl.com> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.3 at c03mi01 X-Virus-Status: Clean Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org To set the default hash algorithm you can set the `GIT_DEFAULT_HASH` environment variable. In the documentation this variable was named `GIT_DEFAULT_HASH_ALGORITHM`, which was incorrect. Signed-off-by: Toon Claes --- Documentation/git.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git.txt b/Documentation/git.txt index 9d6769e95a..12890841c4 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -493,7 +493,7 @@ double-quotes and respecting backslash escapes. E.g., the value details. This variable has lower precedence than other path variables such as GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY... -`GIT_DEFAULT_HASH_ALGORITHM`:: +`GIT_DEFAULT_HASH`:: If this variable is set, the default hash algorithm for new repositories will be set to this value. This value is currently ignored when cloning; the setting of the remote repository