Re: GC of alternate object store
- From
Dan Johnson <computerdruid@gmail.com>
- Date
- Aug 31, 2012, 19:18 UTC
- Message-ID
- <CAPBPrnvrQx2SeyNM_nxnn7bB=Sakj6X=dbH2va+O-TnspY=Bpw@mail.gmail.com>
- In-Reply-To
- <20120831162629.GA18215@troll08.europe.nokia.com>
On Fri, Aug 31, 2012 at 12:26 PM, Oswald Buddenhagen <ossi@kde.org> wrote:
Show 24 quoted lines
> On Thu, Aug 30, 2012 at 09:03:34AM -0700, Junio C Hamano wrote: >> Oswald Buddenhagen <ossi@kde.org> 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 decline the automatic tag following with --no-tags >> (which in hindsight is misnamed; it really means "do not auto-follow >> tags"), like so: >> >> cd $over_there && >> git fetch --no-tags $my_repository 'refs/*:refs/remotes/mine/*' >> >> Otherwise, you will also get tags in refs/tags/. >> > git seems to be happily ignoring that flag. > git fetch --prune --all --no-tags > still re-populates the tags after i delete them manually.
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 work when you specify a remote?
-- -Dan