[git-users] Re: Output from push

2010-12-10 Thread Konstantin Khomoutov
On Nov 24, 2:20 pm, Roddie Grant gitl...@myword.co.uk wrote: [...] To make things simpler to grok, you can think of all those three types of objects as being plain text files. Playing with `git ls-tree` and `git cat-file` can give a very clear idea about how objects reference one another.

Re: [git-users] Re: Output from push

2010-12-10 Thread Rick DeNatale
On Fri, Dec 10, 2010 at 3:46 AM, Konstantin Khomoutov khomou...@gmail.com wrote: On Nov 24, 2:20 pm, Roddie Grant gitl...@myword.co.uk wrote: [...] To make things simpler to grok, you can think of all those three types of objects as being plain text files. Playing with `git ls-tree` and `git

Re: [git-users] Re: Output from push

2010-12-10 Thread Konstantin Khomoutov
Rick DeNatale wrote: [...] I've spotted one minor deficiency in the article so far (there's no such thing as the HEAD of the current branch as Git maintains just one HEAD ref) Not exactly. .git/HEAD contains an indirect reference to a git ref so, if I'm working on the branch foo $cat

[git-users] Re: Output from push

2010-12-10 Thread Jeenu
On Dec 10, 1:46 pm, Konstantin Khomoutov khomou...@gmail.com wrote: I recently came across this paper [1] which you may find useful as it tries to explain Git on the object level, showing the precise steps Git performs to create a new commit. [...]

Re: [git-users] Re: Output from push

2010-12-10 Thread Rick DeNatale
On Fri, Dec 10, 2010 at 11:14 AM, Konstantin Khomoutov khomou...@gmail.com wrote: The idea is that the HEAD is a distinguished reference, which is used to point to the commit object on which the work tree is based, and it has no inherent relation to the notion of the current branch. Actually

Re: [git-users] Re: Output from push

2010-11-25 Thread iñigo medina
I never bothered to learn what these numbers precisely mean (because this is utterly low-level info) I think so too. But anyway your explanation was quite useful to understand the way git manages its files and states. :) iñ -- - imed...@grosshat.com es un

Re: [git-users] Re: Output from push

2010-11-24 Thread Roddie Grant
On 23/11/10 20:18, Konstantin Khomoutov khomou...@gmail.com wrote: On Nov 23, 10:33 pm, Roddie Grant gitl...@myword.co.uk wrote: Could someone kindly explain the following or point me to an explanation. It is typical of the output from a push. I committed and pushed one file, so why 9 objects

[git-users] Re: Output from push

2010-11-23 Thread Konstantin Khomoutov
On Nov 23, 10:33 pm, Roddie Grant gitl...@myword.co.uk wrote: Could someone kindly explain the following or point me to an explanation. It is typical of the output from a push. I committed and pushed one file, so why 9 objects counted, and 5 compressed and delta 3? Counting objects: 9, done.