git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Williams <njw@jarb.freeserve.co.uk>
To: git@vger.kernel.org
Subject: Re: dangling commits
Date: Sun, 15 Jan 2006 21:37:00 +0000	[thread overview]
Message-ID: <dqedel$d0q$1@sea.gmane.org> (raw)
In-Reply-To: <43CAB6ED.3010703@op5.se>

Andreas Ericsson wrote:
> Nick Williams wrote:
> 
>> Hi, after cloning the git repo with
>>
>> cg-clone http://www.kernel.org/pub/scm/git/git.git git
>>
>> and then doing
>>
>> git-fsck-objects --full
>>
>> I get the following
>>
>> dangling commit 42db15448ea3c21ae458d5ea873157449042c07c
>> dangling commit 4d04a4022e7f9f3ada3a64e2010ce65e1fcc5c64
>> dangling commit a773f5bda1835d739ee7209589e137ddd7199142
>> dangling commit ceb90a511add3b362f1384aa6ea35370d12db315
>>
>> However if I do cg-clone git://git.kernel.org/pub/scm/git/git.git
>> there's no output from git-fsck --full
>>
>> git version = 1.1.GIT
>> cogito version = cogito-0.17pre.GIT
>>
>> did I do something wrong (again)?
>>
> 
> Nopes. One clones over http, so you'll get all objects in the object 
> database. The other clones over the far more clever git protocol which 
> calculates which objects you need. Obviously you don't need dangling 
> commits (and their related blobs), so there will be no such items.

OK, that makes sense - thanks for the explanation.

> 
> That there are on kernel.org at all is because Junio does rebases of the 
> pu branch and then pushes them out, which means that the objects from 
> the last rebase of that branch are left dangling.
> 

So, is there any advantage of using http? Seems like git:// makes more 
sense.

  reply	other threads:[~2006-01-15 21:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-15 21:05 dangling commits Nick Williams
2006-01-15 20:56 ` Andreas Ericsson
2006-01-15 21:37   ` Nick Williams [this message]
2006-01-15 21:15     ` Junio C Hamano
2006-01-15 22:11       ` Wolfgang Denk
2006-01-15 22:55         ` Junio C Hamano
2006-01-16  8:52         ` Marco Roeland
2006-01-16  9:27           ` Junio C Hamano
2006-01-16 10:17             ` Marco Roeland
2006-01-16 10:28               ` Andreas Ericsson
2006-01-16 11:33                 ` Marco Roeland
2006-01-16 12:05                   ` Andreas Ericsson
2006-01-16 12:40                     ` Marco Roeland
2006-01-16  9:32           ` Wolfgang Denk
2006-01-16 10:08             ` Marco Roeland
  -- strict thread matches above, loose matches on Subject: below --
2006-05-20 23:05 Dave Jones
     [not found] ` <20060520190802.0df67730.seanlkml@sympatico.ca>
2006-05-20 23:08   ` Sean
2006-05-20 23:19 ` Linus Torvalds
2006-05-20 23:49   ` Dave Jones

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='dqedel$d0q$1@sea.gmane.org' \
    --to=njw@jarb.freeserve.co.uk \
    --cc=git@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).