Git development
 help / color / mirror / Atom feed
* git-fetch fetches blobs that are already in the local repository if no history is shared?
@ 2012-04-24 14:19 Adam Roben
  2012-04-24 14:23 ` Shawn Pearce
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Roben @ 2012-04-24 14:19 UTC (permalink / raw)
  To: git; +Cc: Tor Arne Vestbø

Hi all- 

There are two main git mirrors of the WebKit Subversion repository: <git://git.webkit.org/WebKit.git> and <https://github.com/WebKit/webkit>. These repositories have the exact same trees/blobs, but have entirely different commits due to the GitHub mirror using a custom --authors-prog with git-svn.

Tor Arne (CCed) noticed something interesting today:

If you clone one of these repositories, then add the other as a remote and fetch it, all the trees/blobs seem to get pulled down again, even though they're already in the local repository. It seems like only the commit objects should be fetched, since they're the only difference between the two remotes.

Is this a bug in git? 

-Adam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-25  1:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24 14:19 git-fetch fetches blobs that are already in the local repository if no history is shared? Adam Roben
2012-04-24 14:23 ` Shawn Pearce
2012-04-25  1:26   ` Sitaram Chamarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox