From: Ryne Everett Date: Sun, 06 Mar 2016 15:31:55 GMT Subject: Re: Fsck configurations and cloning. Message-ID: In-Reply-To: > You have to make sure the fields are set within a global git > configuration. Did you set this within a previous clone using "git > config"? If so you need to make sure you use "--global" option to > write it to your user configuration file so that it is persistent > across multiple repositories. Yes, the settings are in my global config. On Sun, Mar 6, 2016 at 12:18 AM, Jacob Keller wrote: > On Sat, Mar 5, 2016 at 5:44 PM, Ryne Everett wrote: >> I'm assuming fsck configurations are supposed to apply to clones but >> I'm having no luck: >> >> $ git --version >> git version 2.7.2 >> $ git config --get transfer.fsckobjects >> true >> $ git config --get fsck.badTimezone >> ignore >> $ cat $(git config --get fsck.skiplist) >> 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8 >> $ git clone https://github.com/kennethreitz/requests.git >> Cloning into 'requests'... >> remote: Counting objects: 16904, done. >> error: object 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8: >> badTimezone: invalid author/committer line - bad time zone >> fatal: Error in object >> fatal: index-pack failed >> >> Am I doing something obviously wrong here? > > You have to make sure the fields are set within a global git > configuration. Did you set this within a previous clone using "git > config"? If so you need to make sure you use "--global" option to > write it to your user configuration file so that it is persistent > across multiple repositories. > > Not sure if that is what your problem was or not, it is unclear from > the information provided. > > Thanks, > Jake