[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Git internal format and compatibilty



On Sat, Apr 12, 2008 at 07:18:50PM +0200, Raphael Hertzog wrote:
> [ Taking this to debian-dpkg, the ftp.debian.org bug report is not the
> place to discuss this ]
> 
> On Sat, 12 Apr 2008, Joey Hess wrote:
> > What git version? Git repositories do not have a version number.
> 
> The version of the software called "git" (we have nothing better to
> identify the internal format AFAIK).
> 
> > > so that if Git's internal format changes in some incompatible way
> > > it's possible to identify which source package use the old format. 
> > 
> > If git's "internal" (aka "external") format changes in some incompatible
> > way, then every published git repo on the internet will be broken.
> 
> If the internal format changes, I expect that git will upgrade it in place
> or something similar. However a source package published in a given
> release is a git repository that nobody use and will thus never be
> upgraded to a newer format. And after some time, we'll have lost the
> ability to extract older source packages.

What I have more a problem with is the ability to extract new sources
in stable.  So an upgrade in place really wouldn't be what you want.
You'd want to be able to say what version it should be stored in.


Kurt


Reply to: