git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Big repo not shrinking on repack or gc?

From
Andreas Krey <a.krey@gmx.de>
Date
Jan 15, 2015, 07:43 UTC
Message-ID
<20150115074334.GJ13247@inner.h.apk.li>
In-Reply-To
<CAGyf7-HMsBnim5yoOgyNJ2=HNpnW8ftvitarMc6UO-zTLfQkBA@mail.gmail.com>

On Thu, 15 Jan 2015 18:05:46 +0000, Bryan Turner wrote: ...

Show 10 quoted lines
> No, Stash will only do that in a repository which has been forked. In
> any non-forked repository, Stash does not interact with garbage
> collection in any way. Auto GC is left enabled, and all pruning
> settings are left at their defaults. The default pruning interval is
> two weeks, so if your development approach is rebase-heavy you may
> need to adjust them.
> 
> What are the contents of some of those .keep files? If they're written
> by Stash they contain a message saying so. ("GENERATED BY ATLASSIAN
> STASH - DO NOT REMOVE")
They do. So it seems it was forked once upon a time, but...

/opt/apps/atlassian/stash-data/shared/data/repositories $ grep '' */objects/info/alternates 158/objects/info/alternates:/data/opt_apps/atlassian/stash-data/shared/data/repositories/20/objects 45/objects/info/alternates:/data/opt_apps/atlassian/stash-data/shared/data/repositories/33/objects 93/objects/info/alternates:/data/opt_apps/atlassian/stash-data/shared/data/repositories/91/objects

...there is no trace of a fork still existing (the repo in question is 143).
Andreas
-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Previous: Bryan TurnerNext: Bryan Turner
Message 10 of 11 in “Big repo not shrinking on repack or gc?”
  1. Andreas KreyJan 14, 2015
  2. Jeff KingJan 14, 2015
  3. Andreas KreyJan 14, 2015
  4. Andreas KreyJan 14, 2015
  5. Andreas KreyJan 14, 2015
  6. Junio C HamanoJan 14, 2015
  7. Bryan TurnerJan 15, 2015
  8. Andreas KreyJan 15, 2015
  9. Bryan TurnerJan 15, 2015
  10. Andreas KreyJan 15, 2015
  11. Bryan TurnerJan 15, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.