ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] git pull скачивает весь репозитарий
@ 2009-01-29  6:42 Andrew Borodin
  2009-01-29  6:46 ` Damir Shayhutdinov
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Borodin @ 2009-01-29  6:42 UTC (permalink / raw)
  To: community

Здравствуйте!

Вопрос про git.

git clone http://git.midnight-commander.org/mc.git

около 30 Мб трафика. Это было вчера.

Потом сделал

git branch --track mc-4.6 origin/mc-4.6
git branch --track utf-8 origin/utf-8

С того времени изменений в том репо всего на несколько килобайт.
Однако

git pull http://git.midnight-commander.org/mc.git master:master

снова скачивает те же самые почти 30 Мб.

И где эта хвалёная экономия трафика? Или я что-то делаю не так?

-- 

С уважением,
А. Бородин.


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

* Re: [Comm] git pull скачивает весь репозитарий
  2009-01-29  6:42 [Comm] git pull скачивает весь репозитарий Andrew Borodin
@ 2009-01-29  6:46 ` Damir Shayhutdinov
  2009-01-30  6:25   ` Andrew Borodin
  0 siblings, 1 reply; 3+ messages in thread
From: Damir Shayhutdinov @ 2009-01-29  6:46 UTC (permalink / raw)
  To: ALT Linux Community general discussions

> С того времени изменений в том репо всего на несколько килобайт.
> Однако
>
> git pull http://git.midnight-commander.org/mc.git master:master
>
> снова скачивает те же самые почти 30 Мб.
>
> И где эта хвалёная экономия трафика? Или я что-то делаю не так?

По протоколу http никакой экономии трафика быть не может, если на
сервере перепаковывают репозитарий. Скорее всего так и делают.

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

* Re: [Comm] git pull скачивает весь репозитарий
  2009-01-29  6:46 ` Damir Shayhutdinov
@ 2009-01-30  6:25   ` Andrew Borodin
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Borodin @ 2009-01-30  6:25 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Thu, Jan 29, 2009 at 09:46:25AM +0300, Damir Shayhutdinov wrote:
> По протоколу http никакой экономии трафика быть не может, если 
> на сервере перепаковывают репозитарий. Скорее всего так и 
> делают.

Спасибо. Скорее всего, Вы правы.

По протоколу git скачиваются только изменения.

-- 

С уважением,
А. Бородин.


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

end of thread, other threads:[~2009-01-30  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-29  6:42 [Comm] git pull скачивает весь репозитарий Andrew Borodin
2009-01-29  6:46 ` Damir Shayhutdinov
2009-01-30  6:25   ` Andrew Borodin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git