[git-users] errors in the PDF version of the Pro Git book

2012-08-26 Thread Kin Lum


*The PDF version of the book:  **
https://github.s3.amazonaws.com/media/progit.en.pdf*

*
*

*In Chapter 1:*

*
*

*For most of the lifetime of the Linux kernel maintenance (19912002), 
changes to the software were passed around as patches and archived files. *

*The - is missing*

*
*

*/.gitconfig file:  *

*the ~ is missing *

*
*

*I think I remember reading another PDF version of the book that had 
different font.  This version is missing punctuation in the first chapter 
already.  Will it be missing them in the later chapters too, as computer 
commands are quite precise.  Missing a punctuation can make things not work 
or work differently.*

*
*

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/KMknfTWnfV0J.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: git object is empty error.

2012-08-26 Thread Thomas Ferris Nicolaisen
Hi,

Try the approach given here: 

http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#recovering-from-repository-corruption

If you're unsure how to proceed, do a git fsck --full and paste the output 
back here.

On Monday, August 27, 2012 5:56:59 AM UTC+2, zhang chao wrote:
>
>  
> hi all
>
>   i got an error from my git repo, i wlll push my code to center, but i 
> got same error for here:
> $ git  push origin zc:zc
> Counting objects: 316, done.
> error: object file .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3 
> is empty
> error: unable to find 00d2a5741d54116a156e477093c3fcf30b24c6b3
> error: object file .git/objects/1b/62dba14055e50a89fe4f01dbb0db854fa2db16 
> is empty
> error: unable to find 1b62dba14055e50a89fe4f01dbb0db854fa2db16
> error: object file .git/objects/35/26a3b36fc6dde775daf854b901c2a3ad9e1641 
> is empty
> error: unable to find 3526a3b36fc6dde775daf854b901c2a3ad9e1641
> error: object file .git/objects/35/c5c9b21dccbcd64d9e7066337ac0b6c69c8e28 
> is empty
> error: unable to find 35c5c9b21dccbcd64d9e7066337ac0b6c69c8e28
> error: object file .git/objects/38/46ddd089dd37860c26979aae4e9de61da2f4d5 
> is empty
> error: unable to find 3846ddd089dd37860c26979aae4e9de61da2f4d5
> error: object file .git/objects/4e/72bcb390b810d1b31a320191f67a81a828c2ba 
> is empty
> error: unable to find 4e72bcb390b810d1b31a320191f67a81a828c2ba
> error: object file .git/objects/64/d930e08f4c40942ed52c0c8d7a9853cc17d3c4 
> is empty
> error: unable to find 64d930e08f4c40942ed52c0c8d7a9853cc17d3c4
> error: object file .git/objects/67/ce133cf5be6565f44a12dbfd6468e07f75a537 
> is empty
> error: unable to find 67ce133cf5be6565f44a12dbfd6468e07f75a537
> error: object file .git/objects/68/54ac3760c0c35be060fbf33265934bee24 
> is empty
> error: unable to find 6854ac3760c0c35be060fbf33265934bee24
> error: object file .git/objects/6a/6a541057701ba0b5646ad62917668004995d8a 
> is empty
> error: unable to find 6a6a541057701ba0b5646ad62917668004995d8a
> error: object file .git/objects/6b/74e1accbf204ffa3e19ebeab231b3fa1f10857 
> is empty
> error: unable to find 6b74e1accbf204ffa3e19ebeab231b3fa1f10857
> error: object file .git/objects/6e/eb7622c63b5b7eea101dca67e983182f78400e 
> is empty
> error: unable to find 6eeb7622c63b5b7eea101dca67e983182f78400e
> error: object file .git/objects/74/b0a114d8793fbfda585d4e624358c0d997d436 
> is empty
> error: unable to find 74b0a114d8793fbfda585d4e624358c0d997d436
> error: object file .git/objects/77/11c8943847a74800ebd74a79cc312a8c825de9 
> is empty
> error: unable to find 7711c8943847a74800ebd74a79cc312a8c825de9
> error: object file .git/objects/81/1cc6b965b3094bf30a9fff92ac0aaea753f6fe 
> is empty
> error: unable to find 811cc6b965b3094bf30a9fff92ac0aaea753f6fe
> error: object file .git/objects/85/7b922ffab318f564b379833be561f8b0bd1339 
> is empty
> error: unable to find 857b922ffab318f564b379833be561f8b0bd1339
> error: object file .git/objects/86/a33442048470f808567c46d41441f31bdd3e36 
> is empty
> error: unable to find 86a33442048470f808567c46d41441f31bdd3e36
> error: object file .git/objects/88/24dd742f7047f20dab57556ea216d08a06f8c4 
> is empty
> error: unable to find 8824dd742f7047f20dab57556ea216d08a06f8c4
> error: object file .git/objects/98/fae8437f9ac052164bd511c97e96c1c42d0e3c 
> is empty
> error: unable to find 98fae8437f9ac052164bd511c97e96c1c42d0e3c
> error: object file .git/objects/9e/a996fd26dde4f2176928328a3227332cae599c 
> is empty
> error: unable to find 9ea996fd26dde4f2176928328a3227332cae599c
> error: object file .git/objects/b0/9b1c1e803e812157cb1187c3e615f8aa68f991 
> is empty
> error: unable to find b09b1c1e803e812157cb1187c3e615f8aa68f991
> error: object file .git/objects/bc/804222b22c7966fa6925af2777af48834d24ba 
> is empty
> error: unable to find bc804222b22c7966fa6925af2777af48834d24ba
> error: object file .git/objects/ce/481168ba469ea1b05cd119312cc2c62bc670e1 
> is empty
> error: unable to find ce481168ba469ea1b05cd119312cc2c62bc670e1
> error: object file .git/objects/d0/73eeade657085d1b47aed4f00bff00824d0bef 
> is empty
> error: unable to find d073eeade657085d1b47aed4f00bff00824d0bef
> error: object file .git/objects/db/ee5ba0fcb471594a9d1a6fe244cfcdbd65f159 
> is empty
> error: unable to find dbee5ba0fcb471594a9d1a6fe244cfcdbd65f159
> error: object file .git/objects/dc/1059634e18c10719623c84c833a283047a75f3 
> is empty
> error: unable to find dc1059634e18c10719623c84c833a283047a75f3
> error: object file .git/objects/dc/d7a69b5e3bb4a1c8ced5be0043dc8f661ec08b 
> is empty
> error: unable to find dcd7a69b5e3bb4a1c8ced5be0043dc8f661ec08b
> error: object file .git/objects/ed/757307b01e7f98ee28d702e700a08868c0a6fe 
> is empty
> error: unable to find ed757307b01e7f98ee28d702e700a08868c0a6fe
> error: object file .git/objects/ee/4fc9118d213089e959b1625405c4b835cd4af7 
> is empty
> error: unable to find ee4fc9118d213089e959b1625405c4b835cd4af7
> error: object file .git/objects/f2/21c154ec8c95fac412b167f043782ad1917116 
> is empty
> erro

[git-users] git object is empty error.

2012-08-26 Thread 树上
hi all

  i got an error from my git repo, i wlll push my code to center, but i got
same error for here:
$ git  push origin zc:zc
Counting objects: 316, done.
error: object file .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3
is empty
error: unable to find 00d2a5741d54116a156e477093c3fcf30b24c6b3
error: object file .git/objects/1b/62dba14055e50a89fe4f01dbb0db854fa2db16
is empty
error: unable to find 1b62dba14055e50a89fe4f01dbb0db854fa2db16
error: object file .git/objects/35/26a3b36fc6dde775daf854b901c2a3ad9e1641
is empty
error: unable to find 3526a3b36fc6dde775daf854b901c2a3ad9e1641
error: object file .git/objects/35/c5c9b21dccbcd64d9e7066337ac0b6c69c8e28
is empty
error: unable to find 35c5c9b21dccbcd64d9e7066337ac0b6c69c8e28
error: object file .git/objects/38/46ddd089dd37860c26979aae4e9de61da2f4d5
is empty
error: unable to find 3846ddd089dd37860c26979aae4e9de61da2f4d5
error: object file .git/objects/4e/72bcb390b810d1b31a320191f67a81a828c2ba
is empty
error: unable to find 4e72bcb390b810d1b31a320191f67a81a828c2ba
error: object file .git/objects/64/d930e08f4c40942ed52c0c8d7a9853cc17d3c4
is empty
error: unable to find 64d930e08f4c40942ed52c0c8d7a9853cc17d3c4
error: object file .git/objects/67/ce133cf5be6565f44a12dbfd6468e07f75a537
is empty
error: unable to find 67ce133cf5be6565f44a12dbfd6468e07f75a537
error: object file .git/objects/68/54ac3760c0c35be060fbf33265934bee24
is empty
error: unable to find 6854ac3760c0c35be060fbf33265934bee24
error: object file .git/objects/6a/6a541057701ba0b5646ad62917668004995d8a
is empty
error: unable to find 6a6a541057701ba0b5646ad62917668004995d8a
error: object file .git/objects/6b/74e1accbf204ffa3e19ebeab231b3fa1f10857
is empty
error: unable to find 6b74e1accbf204ffa3e19ebeab231b3fa1f10857
error: object file .git/objects/6e/eb7622c63b5b7eea101dca67e983182f78400e
is empty
error: unable to find 6eeb7622c63b5b7eea101dca67e983182f78400e
error: object file .git/objects/74/b0a114d8793fbfda585d4e624358c0d997d436
is empty
error: unable to find 74b0a114d8793fbfda585d4e624358c0d997d436
error: object file .git/objects/77/11c8943847a74800ebd74a79cc312a8c825de9
is empty
error: unable to find 7711c8943847a74800ebd74a79cc312a8c825de9
error: object file .git/objects/81/1cc6b965b3094bf30a9fff92ac0aaea753f6fe
is empty
error: unable to find 811cc6b965b3094bf30a9fff92ac0aaea753f6fe
error: object file .git/objects/85/7b922ffab318f564b379833be561f8b0bd1339
is empty
error: unable to find 857b922ffab318f564b379833be561f8b0bd1339
error: object file .git/objects/86/a33442048470f808567c46d41441f31bdd3e36
is empty
error: unable to find 86a33442048470f808567c46d41441f31bdd3e36
error: object file .git/objects/88/24dd742f7047f20dab57556ea216d08a06f8c4
is empty
error: unable to find 8824dd742f7047f20dab57556ea216d08a06f8c4
error: object file .git/objects/98/fae8437f9ac052164bd511c97e96c1c42d0e3c
is empty
error: unable to find 98fae8437f9ac052164bd511c97e96c1c42d0e3c
error: object file .git/objects/9e/a996fd26dde4f2176928328a3227332cae599c
is empty
error: unable to find 9ea996fd26dde4f2176928328a3227332cae599c
error: object file .git/objects/b0/9b1c1e803e812157cb1187c3e615f8aa68f991
is empty
error: unable to find b09b1c1e803e812157cb1187c3e615f8aa68f991
error: object file .git/objects/bc/804222b22c7966fa6925af2777af48834d24ba
is empty
error: unable to find bc804222b22c7966fa6925af2777af48834d24ba
error: object file .git/objects/ce/481168ba469ea1b05cd119312cc2c62bc670e1
is empty
error: unable to find ce481168ba469ea1b05cd119312cc2c62bc670e1
error: object file .git/objects/d0/73eeade657085d1b47aed4f00bff00824d0bef
is empty
error: unable to find d073eeade657085d1b47aed4f00bff00824d0bef
error: object file .git/objects/db/ee5ba0fcb471594a9d1a6fe244cfcdbd65f159
is empty
error: unable to find dbee5ba0fcb471594a9d1a6fe244cfcdbd65f159
error: object file .git/objects/dc/1059634e18c10719623c84c833a283047a75f3
is empty
error: unable to find dc1059634e18c10719623c84c833a283047a75f3
error: object file .git/objects/dc/d7a69b5e3bb4a1c8ced5be0043dc8f661ec08b
is empty
error: unable to find dcd7a69b5e3bb4a1c8ced5be0043dc8f661ec08b
error: object file .git/objects/ed/757307b01e7f98ee28d702e700a08868c0a6fe
is empty
error: unable to find ed757307b01e7f98ee28d702e700a08868c0a6fe
error: object file .git/objects/ee/4fc9118d213089e959b1625405c4b835cd4af7
is empty
error: unable to find ee4fc9118d213089e959b1625405c4b835cd4af7
error: object file .git/objects/f2/21c154ec8c95fac412b167f043782ad1917116
is empty
error: unable to find f221c154ec8c95fac412b167f043782ad1917116
error: object file .git/objects/f9/db6847a3faa3f8e41fb87368b458cb921fd457
is empty
error: unable to find f9db6847a3faa3f8e41fb87368b458cb921fd457
Delta compression using up to 4 threads.
Compressing objects: 100% (203/203), done.
error: object file .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3
is empty
fatal: loose object 00d2a5741d54116a156e477093c3fcf30b24c6b3 (stored in
.git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3) is corrupt
fatal: e

Re: [git-users] Looking for explanation why GIT configurations were lost when Partition modified

2012-08-26 Thread TSU
Thx for posting those locations,
To my eye the files you list look unmodified.

The reason why I posted is that nothing else was done except to modify the 
partition(making it smaller) and so far it looks like everything else is 
functioning properly without a problem.

This partition is a typical "home" partition created formatted EXT4 on a 
Linux (openSUSE) system.

Partition re-sizing was done with the latest version of gParted Live which 
AFAIK only moves disk blocks around, nothing at the file system level or 
higher should have been modified.

TSU



On Sunday, August 26, 2012 5:25:38 AM UTC-7, Konstantin Khomoutov wrote:
>
> On Sat, Aug 25, 2012 at 05:25:03PM -0700, TSU wrote: 
>
> > Was surprised, 
> > When I re-sized and modified the partition at the disk block level 
> (using 
> > gparted) where my GIT client folders were located, none of my 
> directories   
> > configured as mirrors of repos on Github retained their configurations. 
> > 
> > I would have thought that the git repo information about each directory 
> > should be stored at the Filesystem or higher level, either as file 
> > attributes or as configuration files, but if that were the case I highly 
> > doubt that the partition modifications I did should have affected git 
> > configurations. 
> > 
> > Resolution for re-creating git configs should be simple, I'll just 
> remove 
> > existing local copies, then start over by cloning and/or initializing 
> new 
> > local repos and doing a fetch or pull. 
> > 
> > But, am still curious  my git configurations didn't survive, where 
> are 
> > configurations kept that they might be vulnerable? 
>
> Git configuration are stored in plain text files, in these three places: 
> * The system configuration (usually, /etc/gitconfig); 
> * The global configuraion (usually, ~/.gitconfig); 
> * The per-repo configuration, /.git/config 
>
> So I would say the breakage you observed was caused by some other reason 
> than partition resizing. 
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/5HJmIaElvYUJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Looking for explanation why GIT configurations were lost when Partition modified

2012-08-26 Thread Konstantin Khomoutov
On Sat, Aug 25, 2012 at 05:25:03PM -0700, TSU wrote:

> Was surprised,
> When I re-sized and modified the partition at the disk block level (using 
> gparted) where my GIT client folders were located, none of my directories  
> configured as mirrors of repos on Github retained their configurations.
> 
> I would have thought that the git repo information about each directory 
> should be stored at the Filesystem or higher level, either as file 
> attributes or as configuration files, but if that were the case I highly 
> doubt that the partition modifications I did should have affected git 
> configurations.
> 
> Resolution for re-creating git configs should be simple, I'll just remove 
> existing local copies, then start over by cloning and/or initializing new 
> local repos and doing a fetch or pull.
> 
> But, am still curious  my git configurations didn't survive, where are 
> configurations kept that they might be vulnerable?

Git configuration are stored in plain text files, in these three places:
* The system configuration (usually, /etc/gitconfig);
* The global configuraion (usually, ~/.gitconfig);
* The per-repo configuration, /.git/config

So I would say the breakage you observed was caused by some other reason
than partition resizing.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.