Re: Borrowing objects from nearby repositories

2014-03-28 Thread Andrew Keller
On Mar 26, 2014, at 1:29 PM, Junio C Hamano wrote: > Andrew Keller writes: > >> On Mar 25, 2014, at 6:17 PM, Junio C Hamano wrote: >> ... I think that the standard practice with the existing toolset is to clone with reference and then repack. That is: $ git clone --refe

Re: Borrowing objects from nearby repositories

2014-03-28 Thread Junio C Hamano
Andrew Keller writes: > Okay, so to re-frame my idea, like you said, the goal is to find a user- > friendly way for the user to tell git-clone to set up the alternates file > (or perhaps just use the --alternates parameter), and run a repack, > and disconnect the alternate. And yet, we still wan

Re: Borrowing objects from nearby repositories

2014-03-26 Thread Junio C Hamano
Andrew Keller writes: > On Mar 25, 2014, at 6:17 PM, Junio C Hamano wrote: > ... >>> I think that the standard practice with the existing toolset is to >>> clone with reference and then repack. That is: >>> >>>$ git clone --reference git://over/there mine >>>$ cd mine >>>$ git rep

Re: Borrowing objects from nearby repositories

2014-03-26 Thread Andrew Keller
On Mar 25, 2014, at 6:17 PM, Junio C Hamano wrote: > Junio C Hamano writes: > >> Ævar Arnfjörð Bjarmason writes: >> 1) Introduce '--borrow' to `git-fetch`. This would behave similarly >>> to '--reference', except that it operates on a temporary basis, and >>> does not assume that the re

Re: Borrowing objects from nearby repositories

2014-03-25 Thread Junio C Hamano
Junio C Hamano writes: > Ævar Arnfjörð Bjarmason writes: > >>> 1) Introduce '--borrow' to `git-fetch`. This would behave similarly >> to '--reference', except that it operates on a temporary basis, and >> does not assume that the reference repository will exist after the >> operation completes,

Re: Borrowing objects from nearby repositories

2014-03-25 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: >> 1) Introduce '--borrow' to `git-fetch`. This would behave similarly > to '--reference', except that it operates on a temporary basis, and > does not assume that the reference repository will exist after the > operation completes, so any used objects are copied

Re: Borrowing objects from nearby repositories

2014-03-25 Thread Andrew Keller
On Mar 24, 2014, at 5:21 PM, Ævar Arnfjörð Bjarmason wrote: > On Wed, Mar 12, 2014 at 4:37 AM, Andrew Keller wrote: >> Hi all, >> >> I am considering developing a new feature, and I'd like to poll the group >> for opinions. >> >> Background: A couple years ago, I wrote a set of scripts that sp

Re: Borrowing objects from nearby repositories

2014-03-24 Thread Ævar Arnfjörð Bjarmason
On Wed, Mar 12, 2014 at 4:37 AM, Andrew Keller wrote: > Hi all, > > I am considering developing a new feature, and I'd like to poll the group for > opinions. > > Background: A couple years ago, I wrote a set of scripts that speed up > cloning of frequently used repositories. The scripts utilize

Re: Borrowing objects from nearby repositories

2014-03-23 Thread Phil Hord
On Tue, Mar 11, 2014 at 11:37 PM, Andrew Keller wrote: > I am considering developing a new feature, and I'd like to poll the group for > opinions. > > Background: A couple years ago, I wrote a set of scripts that speed up > cloning of frequently used repositories. The scripts utilize a bare Git

Borrowing objects from nearby repositories

2014-03-11 Thread Andrew Keller
Hi all, I am considering developing a new feature, and I'd like to poll the group for opinions. Background: A couple years ago, I wrote a set of scripts that speed up cloning of frequently used repositories. The scripts utilize a bare Git repository located at a known location, and automate p