git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Fsck configurations and cloning.

From
RERyne Everett <ryneeverett@gmail.com>
Date
Mar 6, 2016, 15:31 UTC
Message-ID
<CAGbFckZ_Hf6CzXpewAUEHrnb570pNbkU2CqQkaHj23uCATavrQ@mail.gmail.com>
In-Reply-To
<CA+P7+xozN8Ah9b1QxBFXEiO3=SsUq9J1r+XM5387AodfvXwRQA@mail.gmail.com>
Show 5 quoted lines
> 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 <jacob.keller@gmail.com> wrote:
Show 33 quoted lines
> On Sat, Mar 5, 2016 at 5:44 PM, Ryne Everett <ryneeverett@gmail.com> 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
Previous: Jacob KellerNext: Jeff King
Message 3 of 6 in “Fsck configurations and cloning.”
  1. Ryne EverettMar 6, 2016
  2. Jacob KellerMar 6, 2016
  3. Ryne EverettMar 6, 2016
  4. Jeff KingMar 6, 2016
  5. Ryne EverettMar 6, 2016
  6. Jeff KingMar 6, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.