atom feed192 messages in org.freebsd.freebsd-archRe: Official git export (was: Re: Fre...
FromSent OnAttachments
40 earlier messages
Rick MacklemAug 19, 2011 3:38 pm 
Robert WatsonAug 19, 2011 3:57 pm 
Pedro F. GiffuniAug 19, 2011 5:57 pm 
Lev SerebryakovAug 19, 2011 11:14 pm 
Robert WatsonAug 20, 2011 4:37 am 
Luigi RizzoAug 20, 2011 6:42 am 
Poul-Henning KampAug 20, 2011 7:10 am 
Robert N. M. WatsonAug 20, 2011 7:21 am 
Lev SerebryakovAug 20, 2011 2:09 pm 
Luigi RizzoAug 20, 2011 2:36 pm 
Peter JeremyAug 21, 2011 4:04 am 
Slawa OlhovchenkovAug 21, 2011 6:51 am 
Marcin WisnickiAug 22, 2011 10:04 am 
Marcin WisnickiAug 22, 2011 11:33 am 
selvenAug 22, 2011 11:06 pm 
Adrian ChaddAug 22, 2011 11:49 pm 
Garrett CooperAug 22, 2011 11:54 pm 
Diane BruceAug 23, 2011 7:01 pm 
Vadim GoncharovAug 24, 2011 3:08 pm 
Vadim GoncharovAug 24, 2011 3:15 pm 
Vadim GoncharovAug 24, 2011 3:20 pm 
Vadim GoncharovAug 24, 2011 3:29 pm 
Milo HysonAug 24, 2011 7:42 pm 
gnuy...@gmail.comAug 24, 2011 8:33 pm 
Alex GoncharovAug 24, 2011 8:47 pm 
Milo HysonAug 24, 2011 10:04 pm 
Adrian ChaddAug 24, 2011 10:24 pm 
Vadim GoncharovAug 25, 2011 8:20 am 
Vadim GoncharovAug 25, 2011 8:33 am 
Vadim GoncharovAug 25, 2011 8:41 am 
Garrett CooperAug 25, 2011 11:15 am 
Xin LIAug 25, 2011 11:20 am 
Diane BruceAug 25, 2011 1:12 pm 
Vadim GoncharovAug 25, 2011 1:29 pm 
Vadim GoncharovAug 25, 2011 1:52 pm 
md...@FreeBSD.orgAug 25, 2011 1:58 pm 
Vadim GoncharovAug 25, 2011 3:08 pm 
Brandon GoochAug 25, 2011 5:12 pm 
Robert WatsonAug 26, 2011 1:58 am 
Robert WatsonAug 26, 2011 2:05 am 
Adrian ChaddAug 26, 2011 2:16 am 
Slawa OlhovchenkovAug 26, 2011 2:37 am 
Jonathan AndersonAug 26, 2011 3:04 am 
Adrian ChaddAug 26, 2011 3:34 am 
Robert WatsonAug 26, 2011 4:23 am 
Jonathan AndersonAug 26, 2011 4:43 am 
Jonathan AndersonAug 26, 2011 5:11 am 
Gleb KurtsouAug 26, 2011 11:31 am 
Doug BartonAug 26, 2011 5:43 pm 
Artem BelevichAug 26, 2011 6:25 pm 
Adrian ChaddAug 26, 2011 6:59 pm 
Adrian ChaddAug 26, 2011 7:00 pm 
Robert N. M. WatsonAug 27, 2011 2:56 am 
Ulrich SpörleinAug 27, 2011 8:59 am 
Pedro F. GiffuniAug 27, 2011 11:08 am 
Garrett CooperAug 27, 2011 11:11 am 
Julien LaffayeAug 27, 2011 11:36 am 
Eitan AdlerAug 27, 2011 11:59 am 
Pedro F. GiffuniAug 27, 2011 12:13 pm 
Eitan AdlerAug 27, 2011 12:20 pm 
Pedro F. GiffuniAug 27, 2011 12:29 pm 
Benjamin KadukAug 27, 2011 12:49 pm 
Jos BackusAug 27, 2011 1:01 pm 
Olli HauerAug 27, 2011 1:02 pm 
Garrett CooperAug 27, 2011 1:11 pm 
Garrett CooperAug 27, 2011 1:41 pm 
Pedro F. GiffuniAug 27, 2011 1:42 pm 
Garrett CooperAug 27, 2011 1:48 pm 
Julian H. StaceyAug 27, 2011 2:56 pm 
Mark LinimonAug 27, 2011 5:53 pm 
Olli HauerAug 28, 2011 12:22 am 
Vadim GoncharovAug 28, 2011 1:11 pm 
Vadim GoncharovAug 28, 2011 1:23 pm 
Vadim GoncharovAug 28, 2011 2:18 pm 
per...@pluto.rain.comAug 29, 2011 1:10 am 
Adrian ChaddAug 29, 2011 2:03 am 
Vadim GoncharovAug 29, 2011 2:53 am 
K. MacyAug 29, 2011 4:50 am 
Philip PaepsAug 29, 2011 5:33 am 
Philip PaepsAug 29, 2011 5:39 am 
selvenAug 29, 2011 7:21 am 
selvenAug 29, 2011 7:43 am 
Qing LiAug 29, 2011 8:02 am 
Matthew D. FullerAug 29, 2011 1:40 pm 
per...@pluto.rain.comAug 29, 2011 2:06 pm 
Julian ElischerAug 29, 2011 6:00 pm 
Matthew D. FullerAug 29, 2011 6:03 pm 
Julian ElischerAug 29, 2011 6:04 pm 
K. MacyAug 29, 2011 6:57 pm 
Benjamin KadukAug 29, 2011 7:24 pm 
K. MacyAug 29, 2011 7:37 pm 
Benjamin KadukAug 29, 2011 7:41 pm 
Максим ГолубAug 29, 2011 8:59 pm 
K. MacyAug 29, 2011 11:40 pm 
per...@pluto.rain.comAug 29, 2011 11:48 pm 
Mark LinimonAug 30, 2011 1:23 am 
Robert WatsonAug 30, 2011 6:37 am 
Ulrich SpörleinAug 30, 2011 1:13 pm 
K. MacyAug 30, 2011 1:20 pm 
Vadim GoncharovAug 30, 2011 2:41 pm 
52 later messages
Subject:Re: Official git export (was: Re: FreeBSD problems and preliminary ways to solve)
From:Artem Belevich (ar@freebsd.org)
Date:Aug 26, 2011 6:25:55 pm
List:org.freebsd.freebsd-arch

Hi,

On Fri, Aug 26, 2011 at 11:31 AM, Gleb Kurtsou <gleb@gmail.com> wrote:

Jonathan, could you update /Git wiki page with an example of git clone specifying only head branch and how to add another branch later. That would make local repository copy smaller, pull faster and 'git branch -r' output much shorter.

Here you go:

$ mkdir small-clone $ cd small-clone $ git init # Tell git to fetch only master (AKA head) and stable/8 branches $ git remote add -t master -t stable/8 origin git://git.freebsd.your.org/freebsd.git $ git fetch origin # fetches about 1.6M objects

remote: Counting objects: 1600952, done. remote: Compressing objects: 100% (418377/418377), done. remote: Total 1600952 (delta 1227540), reused 1524707 (delta 1159458) Receiving objects: 100% (1600952/1600952), 632.85 MiB | 3.12 MiB/s, done. Resolving deltas: 100% (1227540/1227540), done. From git://git.freebsd.your.org/freebsd * [new branch] master -> origin/master * [new branch] stable/8 -> origin/stable/8

# Add stable/7 branch and fetch it $ git remote set-branches origin --add stable/7 $ git fetch origin

remote: Counting objects: 35713, done. remote: Compressing objects: 100% (11359/11359), done. remote: Total 27595 (delta 20679), reused 22440 (delta 16043) Receiving objects: 100% (27595/27595), 14.40 MiB | 1.93 MiB/s, done. Resolving deltas: 100% (20679/20679), completed with 2329 local objects. From git://git.freebsd.your.org/freebsd * [new branch] stable/7 -> origin/stable/7 $ git branch -r origin/HEAD -> origin/head origin/master origin/stable/7 origin/stable/8

Practically it does not save you all that much on repo size or the time to fetch stuff. Complete clone is ~700M/1.9M objects and head+stable/8 clone is only about 10% smaller. If you really want to have smaller repo you will need to trip repo history. I'm not sure yet how to do that.

--Artem