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

Re: Fwd: Git and Large Binaries: A Proposed Solution

From
Eric Montellese <emontellese@gmail.com>
Date
Jan 21, 2011, 22:00 UTC
Message-ID
<AANLkTikj-+bVW6P42Ejz+T=CtKTwUKBF6BmEDSBeZbL6@mail.gmail.com>
In-Reply-To
<201101211436.32033.wjl@icecavern.net>
Thanks Wesely,

I did take a look at git annex -- it looks to me as though that project is more of a special-case, allowing users to use git to track things like music and movies. While it's possible this might be usable for the use case I described, what I'm really looking for is a true extension of git which allows binaries to be treated differently (if the user desires) when using git as a source management tool.

The major difference I see with git-annex is that the user must specifically tell git-annex to download certain files. Instead, I want the user to always automatically have *all* of the files (both source and binaries) for the current revision -- but not necessarily for hundreds (thousands?) of past revisions (which as git is implemented currently would take up many gigabytes)

git-annex does look like a neat piece of software, but I don't think it quite fits here -- thank you again for the comment though!

Eric
On Fri, Jan 21, 2011 at 4:36 PM, Wesley J. Landaker <wjl@icecavern.net> wrote:
Show 16 quoted lines
> On Friday, January 21, 2011 11:57:21 Eric Montellese wrote:
>> To whet your appetite to read all of the below (I know it's long),
>> this is the root of the solution:
>>
>> ---       Don't track binaries in git.  Track their hashes.       ---
>
> Comment from the peanut gallery:
>
> I haven't read your approach in great detail, but just in case you are not
> aware, there is a project call git-annex <http://git-annex.branchable.com/>
> by Joey Hess that I believe takes a similar approach.
>
> Since you've obviously given this a lot of thought, you might want to take a
> peek at that and see if it already does what you want, or if your proposal
> does something significantly different/better.
>
Previous: Wesley J. LandakerNext: Jeff King
Message 3 of 20 in “Fwd: Git and Large Binaries: A Proposed Solution”
  1. Eric MontelleseJan 21, 2011
  2. Wesley J. LandakerJan 21, 2011
  3. Eric MontelleseJan 21, 2011
  4. Jeff KingJan 21, 2011
  5. Eric MontelleseJan 21, 2011
  6. Sverre RabbelierJan 22, 2011
  7. Pete WyckoffJan 23, 2011
  8. Scott ChaconJan 26, 2011
  9. Eric MontelleseJan 26, 2011
  10. Joey HessJan 26, 2011
  11. Jakub NarebskiJan 26, 2011
  12. Alexander MiselerMar 10, 2011
  13. Jeff KingMar 10, 2011
  14. Eric MontelleseMar 13, 2011
  15. Jeff KingMar 13, 2011
  16. Alexander MiselerMar 13, 2011
  17. Jeff KingMar 14, 2011
  18. Eric MontelleseMar 16, 2011
  19. Nguyen Thai Ngoc DuyMar 16, 2011
  20. Joey HessJan 22, 2011

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.