summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-17 13:01:12 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-17 13:01:12 +0100
commit9f09728acac7e36404cfd8c6b03a38281d47b75b (patch)
treef9a022ad74ca863bfab7f425907ec26ee45e5470 /.gitignore
parentf367afabc1a9c35cee749efe5540af09914f14e2 (diff)
git.sh: cache git downloads to repo/
do it based on the URL, e.g. https://review.coreboot.org/coreboot becomes repo/coreboot the downside is if you have two projects with repo urls specifying the same string at the end, but this isn't the case at the moment and likely won't be the case, but it's a theoretical issue. this saves on bandwidth when downloading identical submodule repos between multiple trees within the same multi-tree project for example, coreboot 3rdparty/vboot is no longer downloaded more than once, instead cloned locally on subsequent downloads. if repo/DIR exists, git-pull is attempted, but errors do not result in a non-zero exit, by design. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index d6c27f5d..17647cbd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
*~
*.o
/lbmk.err.log
+/repo/
/docs/
/pciroms/
/util/dell-flash-unlock/dell_flash_unlock