[Kde-scm-interest] kdegames' move to Git

Maciej Mrozowski reavertm at gmail.com
Mon Jun 28 18:53:38 CEST 2010


On Monday 28 of June 2010 13:56:52 Chani wrote:
> On Sunday, June 27, 2010 10:46:03 am Oswald Buddenhagen wrote:
> > On Sun, Jun 27, 2010 at 12:32:42PM -0500, Ian Monroe wrote:
> > > On Sun, Jun 27, 2010 at 12:22 PM, Tom Albers <toma at kde.org> wrote:
> > > > Moving KMail from kdepim to extragear would not be possible while
> > > > preserving the history. This is imho important to know and consider.
> > > 
> > > I don't think this is true. It's not something you'd want to do
> > > everyday, but splicing and dicing git repos is possible.
> > 
> > it's something you wouldn't ever want to do, as "carving out" a module
> > will invalidate all sha1 references.
> 
> why does that matter? (seriously, I don't understand what consequences it
> could have)

Well, if some directories are to be removed from repository permanently (with 
whole history, entirely), all sha1 in repository will change, therefore you 
need to clone such repo again and throw away you local clones entirely.

Obviously 'splitting' is not meant to be done on daily basis app by app (but 
rather only once for all apps and permanently), so nobody should really care 
for invalidated sha1 as nobody is supposed to use monolithic repo any longer.

(It doesn't mean splitting is practical, imho you should just stick to repo-
per-module layout with playground, review, exragear as git branches).

-- 
regards
MM


More information about the Kde-scm-interest mailing list