Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:genpatches-misc commit in: web/
Date: Sat, 04 Aug 2018 13:27:09
Message-Id: 1533389209.b31c54b2c3df622f58079e89d5659d4c54239e66.mpagano@gentoo
1 commit: b31c54b2c3df622f58079e89d5659d4c54239e66
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 4 13:26:49 2018 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 4 13:26:49 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=b31c54b2
7
8 Fix git clone for email announcement
9
10 web/email-announcement.pl | 4 +++-
11 1 file changed, 3 insertions(+), 1 deletion(-)
12
13 diff --git a/web/email-announcement.pl b/web/email-announcement.pl
14 index 1020df4..5b1755b 100755
15 --- a/web/email-announcement.pl
16 +++ b/web/email-announcement.pl
17 @@ -22,9 +22,11 @@ else { # support for kernels >= 3.0
18 $have_history = 0;
19 $website_base = 'http://dev.gentoo.org/~mpagano/genpatches';
20
21 +$result = `rm -rf ${LOCAL_TMP}/linux-patches`;
22 $result = `cd $LOCAL_TMP`;
23 $result = `git -C ${LOCAL_TMP}/linux-patches reset`;
24 -$result = `git clone $REMOTE_BASE ${LOCAL_TMP}/linux-patches`;
25 +#$result = `git clone --depth=50 $REMOTE_BASE ${LOCAL_TMP}/linux-patches`;
26 +$result = `git clone -b $ver --single-branch $REMOTE_BASE ${LOCAL_TMP}/linux-patches`;
27
28 # checkout branch
29 $result = `git -C ${LOCAL_TMP}/linux-patches checkout ${tag}`;