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

Re: Fsck configurations and cloning.

From
Jacob Keller <jacob.keller@gmail.com>
Date
Mar 6, 2016, 05:18 UTC
Message-ID
<CA+P7+xozN8Ah9b1QxBFXEiO3=SsUq9J1r+XM5387AodfvXwRQA@mail.gmail.com>
In-Reply-To
<CAGbFckZNpy=2P8kpSsEpCeTFmgzE5MEK7fnS8xJzDSPJs3iJdQ@mail.gmail.com>
On Sat, Mar 5, 2016 at 5:44 PM, Ryne Everett <ryneeverett@gmail.com> wrote:
Show 20 quoted lines
> 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: Ryne EverettNext: Ryne Everett
Message 2 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.