git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-push of new, tiny branch doing more work than necessary?
@ 2006-09-21 22:29 Carl Worth
  2006-09-21 22:34 ` Johannes Schindelin
  2006-09-22  2:31 ` Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Carl Worth @ 2006-09-21 22:29 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

I've run through something quite like the following scenario a few
times lately:

	git pull origin
	git checkout -b experiment
	# hack a file or two
	git commit -a -m "new experiment"
	git push origin experiment

What I expect at this point is for git to push the few newly created
objects out to the repository. Instead it talks about generating,
deltifying, transferring, and unpacking thousands of objects (see
below).

Shouldn't the same WANT/HAVE hand shaking that makes git-fetch
efficient be doing something similar here? Or am I just doing
something wrong?

-Carl

$ git --version
git version 1.4.2.rc2.gef1d9
$ git push cworth 8379
updating 'refs/heads/8379'
  from 0000000000000000000000000000000000000000
  to   44379202da96faf632b73cdcdd6c0a74fb4b54f4
Generating pack...
Done counting 4900 objects.
Result has 4622 objects.
Deltifying 4622 objects.
 100% (4622/4622) done
Unpacking 4622 objects
Total 4622, written 4622 (delta 3411), reused 1259 (delta 946)
refs/heads/8379: 0000000000000000000000000000000000000000 ->
44379202da96faf632b73cdcdd6c0a74fb4b54f4

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2006-09-28 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 22:29 git-push of new, tiny branch doing more work than necessary? Carl Worth
2006-09-21 22:34 ` Johannes Schindelin
2006-09-22  7:40   ` Andy Whitcroft
2006-09-28 18:10     ` Carl Worth
2006-09-22  2:31 ` Junio C Hamano

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).