[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:55:10 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: наб (nabijaczleweli)

<details>
<summary>Changes</summary>

You can absolutely push from a shallow clone, this is just false

---
Full diff: https://github.com/llvm/llvm-project/pull/142213.diff


1 Files Affected:

- (modified) clang/www/get_started.html (+1-1) 


``````````diff
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>

``````````

</details>


https://github.com/llvm/llvm-project/pull/142213


More information about the cfe-commits mailing list