Re: GC of alternate object store

2012-08-31 Thread Junio C Hamano
Dan Johnson writes: > I believe that is bad interaction with "--all" (probably a bug). If I > am remembering correctly, --no-tags is internally a per-remote > setting, so I'm guessing it's not getting set on all remotes here. > > I'll look into this more a bit later tonight. Does fetch --no-tags

Re: GC of alternate object store

2012-08-31 Thread Dan Johnson
On Fri, Aug 31, 2012 at 12:26 PM, Oswald Buddenhagen wrote: > On Thu, Aug 30, 2012 at 09:03:34AM -0700, Junio C Hamano wrote: >> Oswald Buddenhagen writes: >> >> >> Doesn't >> >> >> >>git push $over_there 'refs/*:refs/remotes/mine/*' >> >> >> >> push your tag v1.0 to refs/remotes/mine/v1.0 ov

Re: GC of alternate object store

2012-08-31 Thread Oswald Buddenhagen
On Thu, Aug 30, 2012 at 09:03:34AM -0700, Junio C Hamano wrote: > Oswald Buddenhagen writes: > > >> Doesn't > >> > >>git push $over_there 'refs/*:refs/remotes/mine/*' > >> > >> push your tag v1.0 to refs/remotes/mine/v1.0 over there? The > >> version of git I ship seems to do this just fin

Re: GC of alternate object store

2012-08-30 Thread Junio C Hamano
Oswald Buddenhagen writes: >> Doesn't >> >> git push $over_there 'refs/*:refs/remotes/mine/*' >> >> push your tag v1.0 to refs/remotes/mine/v1.0 over there? The >> version of git I ship seems to do this just fine. >> > as i wrote before, i'm pulling, not pushing,... You would need to de

Re: GC of alternate object store

2012-08-30 Thread Oswald Buddenhagen
On Wed, Aug 29, 2012 at 08:52:27AM -0700, Junio C Hamano wrote: > (I won't comment on the other parts in this discussion). > which is kinda unfortunate. ;) > Oswald Buddenhagen writes: > > i did exacty that. the tags are *still* not populated - git just tries > > very hard to treat them speciall

Re: GC of alternate object store

2012-08-29 Thread Junio C Hamano
Oswald Buddenhagen writes: > On Tue, Aug 28, 2012 at 09:19:53PM +0200, Hallvard Breien Furuseth wrote: > ... >> Junio's proposal partially fixes that: It pushes refs/* instead of >> refs/heads/*, to refs/remotes//. However... >> > i did exacty that. the tags are *still* not populated - git just

Re: GC of alternate object store (was: Bringing a bit more sanity to $GIT_DIR/objects/info/alternates?)

2012-08-29 Thread Oswald Buddenhagen
On Tue, Aug 28, 2012 at 09:19:53PM +0200, Hallvard Breien Furuseth wrote: > Oswald Buddenhagen wrote: > > (...)so the second approach is the "bare aggregator repo" which adds > > all other repos as remotes, and the other repos link back via > > alternates. problems: > > > > - to actually share obj

GC of alternate object store (was: Bringing a bit more sanity to $GIT_DIR/objects/info/alternates?)

2012-08-28 Thread Hallvard Breien Furuseth
Oswald Buddenhagen wrote: > (...)so the second approach is the "bare aggregator repo" which adds > all other repos as remotes, and the other repos link back via > alternates. problems: > > - to actually share objects, one always needs to push to the aggregator Run a cron job which frequently does