Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Restore .git directory in git package downloads
@ 2017-04-19  4:00 James Balean
  2017-04-19  4:15 ` Baruch Siach
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: James Balean @ 2017-04-19  4:00 UTC (permalink / raw)
  To: buildroot

Removing the .git directory during package download and caching prevents
Builroot users from making and testing changes to external software
packages using Buildroot. This patch enables users to commit locally,
make patches and contribute back to the projects they are using.

Signed-off-by: James Balean <james@balean.com.au>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 support/download/git | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/support/download/git b/support/download/git
index 056057c..a7f307c 100755
--- a/support/download/git
+++ b/support/download/git
@@ -85,10 +85,6 @@ if [ ${recurse} -eq 1 ]; then
     _git submodule update --init --recursive
 fi
 
-# We do not need the .git dir; we keep other .git files, in case they
-# are the only files in their directory.
-rm -rf .git
-
 popd >/dev/null
 
 # Generate the archive, sort with the C locale so that it is reproducible
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-04-27 17:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19  4:00 [Buildroot] [PATCH] Restore .git directory in git package downloads James Balean
2017-04-19  4:15 ` Baruch Siach
2017-04-19 13:01   ` Jan Kundrát
2017-04-19 14:39     ` Andreas Naumann
2017-04-19 20:11       ` Arnout Vandecappelle
2017-04-19 23:37 ` Ricardo Martincoski
     [not found] ` <58f7f1456cc7e_21d33f8c269493f44696f@ultri3.mail>
2017-04-20  3:40   ` Baruch Siach
2017-04-26  3:52     ` James Balean
2017-04-26  4:10       ` Baruch Siach
2017-04-27 17:52         ` Ricardo Martincoski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox