[clang] clang.llvm.org/get_started.html: remove shallow clone misinformation (PR #142213)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 30 13:54:17 PDT 2025
https://github.com/nabijaczleweli created https://github.com/llvm/llvm-project/pull/142213
You can absolutely push from a shallow clone, this is just false
>From 0827ae2057b4a05d797587e09f6f198c01abe00f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <nabijaczleweli at nabijaczleweli.xyz>
Date: Fri, 30 May 2025 22:50:53 +0200
Subject: [PATCH] clang.llvm.org/get_started.html: remove shallow clone
misinformation
You can absolutely push from a shallow clone, this is just false
---
clang/www/get_started.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/www/get_started.html b/clang/www/get_started.html
index 0087aba168839..175ba463606fa 100755
--- a/clang/www/get_started.html
+++ b/clang/www/get_started.html
@@ -54,7 +54,7 @@ <h3 id="buildNix">On Unix-like Systems</h3>
<li>The above command is very slow. It can be made faster by creating a shallow clone. Shallow clone saves storage and speeds up the checkout time. This is done by using the command:
<ul>
<li><tt>git clone --depth=1 https://github.com/llvm/llvm-project.git (using this only the latest version of llvm can be built)</tt></li>
- <li>For normal users looking to just compile, this command works fine. But if someone later becomes a contributor, since they can't push code from a shallow clone, it needs to be converted into a full clone:
+ <li>For normal users looking to just compile, this command works fine. But if someone later becomes a contributor, since this hides all history, they may want to convert this into a full clone:
<ul>
<li><tt>cd llvm-project</tt></li>
<li><tt>git fetch --unshallow</tt></li>
More information about the cfe-commits
mailing list