git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Avoiding broken Gitweb links and deleted objects
@ 2013-05-08 16:16 Matt McClure
  2013-05-09 20:04 ` Matt McClure
  2013-05-10  6:07 ` Johannes Sixt
  0 siblings, 2 replies; 14+ messages in thread
From: Matt McClure @ 2013-05-08 16:16 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: git

On Wed, May 8, 2013 at 12:05 PM, Matt McClure <matthewlmcclure@gmail.com> wrote:
> On Wed, May 8, 2013 at 10:41 AM, Johannes Sixt <j.sixt@viscovery.net> wrote:
>> git gc moves unreachable objects that were packed before to the loose
>> object store, from where they can be pruned.
>
> Thanks. That was the piece I was missing. I assumed `git gc` did the opposite.

That begs a follow-up question. It sounds as though Git will typically
delete unreachable objects. My team often shares links like
https://git.example.com/foo.git/log/d59051721bb0a3758f7c6ea0452bac122a377645?hp=0055e0959cd13780494fe33832bae9bcf91e4a90
. If I later rebase the branch containing those commits and d590517
becomes unreachable, do I risk that link breaking when Git deletes
d590517?

What's a good strategy for avoiding breaking those links?

-- 
Matt McClure
http://matthewlmcclure.com
http://www.mapmyfitness.com/profile/matthewlmcclure

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-05-22 17:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 16:16 Avoiding broken Gitweb links and deleted objects Matt McClure
2013-05-09 20:04 ` Matt McClure
2013-05-10  6:07 ` Johannes Sixt
2013-05-10  6:37   ` Junio C Hamano
2013-05-10  7:03     ` Johannes Sixt
2013-05-10  7:04     ` Duy Nguyen
2013-05-10  7:16       ` Junio C Hamano
2013-05-10 10:33         ` Duy Nguyen
2013-05-10 16:22         ` Junio C Hamano
2013-05-22 13:25           ` Matt McClure
2013-05-22 17:39             ` Junio C Hamano
2013-05-10  7:34     ` William Swanson
2013-05-22 13:32       ` Matt McClure
2013-05-22 15:41         ` William Swanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).