{"thread":{"id":"26674","subject":"multiple branch shallow clones and object sharing","startedAt":"2011-03-06T20:00:55Z","lastAt":"2011-03-06T20:00:55Z","messageCount":1,"participants":["Serhat Sevki Dincer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"162856","messageId":"AANLkTimo-Ba8dt5p7aDG8X1VJC=tQfricD=iJvcUw7_y@mail.gmail.com","threadId":"26674","inReplyTo":null,"subject":"multiple branch shallow clones and object sharing","fromName":"Serhat Sevki Dincer","fromEmail":"jfcgauss@gmail.com","sentAt":"2011-03-06T20:00:55Z","receivedAt":"2011-03-06T20:00:55Z","isPatch":false,"sender":{"key":"jfcgauss@gmail.com","avatar":null},"body":"Hi,\nSay, I would like to get just the recent history of two branches of a\nbig project with, for example:\ngit clone -b REL-1_10_0_PATCHES --depth  99\ngit://git.postgresql.org/git/pgadmin3.git pgadmin-1.10\ngit clone -b REL-1_12_0_PATCHES --depth 299\ngit://git.postgresql.org/git/pgadmin3.git pgadmin-1.12\n\nIf the 1st one were not a shallow clone, we could have --referenced it\nin the 2nd command to avoid unnecassary downloads of many objects, but\nsince the history of the project is very big we just want some recent\nhistory. Is the following commandline syntax too absurd/naive for a\nnew feature of git :?\n\ngit clone -b REL-1_10_0_PATCHES --depth 99 -b REL-1_12_0_PATCHES\n--depth 299 git://git.postgresql.org/git/pgadmin3.git pgadmin-1.10\npgadmin-1.12\n\nthis is supposed to download the two branches simultaneously into two\nrespective local directories, making any possible download savings\nalong the way.\n\nThanks,\nSerhat\n"}]}