diff options
author | Mike Pagano <mpagano@gentoo.org> | 2018-08-04 09:26:49 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2018-08-04 09:26:49 -0400 |
commit | b31c54b2c3df622f58079e89d5659d4c54239e66 (patch) | |
tree | 1ac67749faca1619c632a499d8246375f59a8943 | |
parent | Remove debug lines (diff) | |
download | linux-patches-b31c54b2.tar.gz linux-patches-b31c54b2.tar.bz2 linux-patches-b31c54b2.zip |
Fix git clone for email announcement
-rwxr-xr-x | web/email-announcement.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/email-announcement.pl b/web/email-announcement.pl index 1020df4e..5b1755b8 100755 --- a/web/email-announcement.pl +++ b/web/email-announcement.pl @@ -22,9 +22,11 @@ else { # support for kernels >= 3.0 $have_history = 0; $website_base = 'http://dev.gentoo.org/~mpagano/genpatches'; +$result = `rm -rf ${LOCAL_TMP}/linux-patches`; $result = `cd $LOCAL_TMP`; $result = `git -C ${LOCAL_TMP}/linux-patches reset`; -$result = `git clone $REMOTE_BASE ${LOCAL_TMP}/linux-patches`; +#$result = `git clone --depth=50 $REMOTE_BASE ${LOCAL_TMP}/linux-patches`; +$result = `git clone -b $ver --single-branch $REMOTE_BASE ${LOCAL_TMP}/linux-patches`; # checkout branch $result = `git -C ${LOCAL_TMP}/linux-patches checkout ${tag}`; |