Git development
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: Scott Chacon <schacon@gmail.com>, git list <git@vger.kernel.org>
Subject: Re: Git Large Object Support Proposal
Date: Fri, 20 Mar 2009 00:46:09 -0400	[thread overview]
Message-ID: <20090320044609.GC27160@coredump.intra.peff.net> (raw)
In-Reply-To: <7vzlfh5b7y.fsf@gitster.siamese.dyndns.org>

On Thu, Mar 19, 2009 at 04:44:49PM -0700, Junio C Hamano wrote:

> Aha, that sounds like you can just maintain a set of out-of-tree symbolic
> links that you keep track of, and let other people (e.g. rsync) deal with
> the complexity of managing that side of the world.
> 
> And I think you can start experimenting it without any change to the core
> datastructures.  In your single-page web site in which its sole html file
> embeds an mpeg movie, you keep track of these two things in git:
> 
> 	porn-of-the-day.html
>         porn-of-the-day.mpg -> ../media/6066f5ae75ec.mpg
> 
> and any time you want to feed a new movie, you update the symlink to a
> different one that lives outside the source-controlled tree, while
> arranging the link target to be updated out-of-band.

I have a repo like this (not porn, but large files :) ) and I use a
similar solution. Instead of large blobs, I have stub files containing a
URL, and the make process pulls them as necessary. It works pretty well
in practice. I don't bother with naming the files by sha-1 but instead
give them human-readable names, since in my case they are generally
immutable (i.e., one a name is assigned, the content doesn't change).

-Peff

  parent reply	other threads:[~2009-03-20  4:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-19 22:14 Git Large Object Support Proposal Scott Chacon
2009-03-19 22:31 ` Junio C Hamano
2009-03-19 23:18   ` Scott Chacon
2009-03-19 23:44     ` Junio C Hamano
2009-03-19 23:52       ` david
2009-03-20  0:11         ` Junio C Hamano
2009-03-20  0:19           ` Scott Chacon
2009-03-20  0:23           ` david
2009-03-20  0:41       ` Junio C Hamano
2009-03-20  4:46       ` Jeff King [this message]
2009-03-19 23:42   ` david

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090320044609.GC27160@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=schacon@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox