openframeworks / openframeworks/openFrameworks

Git Error when cloning OF repo

Open
#5,562 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

git prelim-analysis
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

I get an error trying to clone OF.

$git clone https://github.com/openframeworks/openFrameworks.git --verbose
Cloning into 'openFrameworks'...
POST git-upload-pack (gzip 1391 to 749 bytes)
remote: Counting objects: 134186, done.
error: object bb1f763543cc01b7f5904fcfb636888c3ad73def: zeroPaddedFilemode: contains zero-padded file modes
fatal: Error in object

$git --version
git version 2.12.2

I think it is due to me updating my .gitconfig recently with:

[Transfer]
fsckobjects = true

Not sure how serious this is, I couldn't find much on it... But I thought I should report just in case.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the clone with Git 2.12.2 and the reported Transfer.fsckobjects setting, then compare it with that setting disabled. Inspect whether the repository clone or local configuration triggers the zeroPaddedFilemode error; the issue is done when the cause and a verified resolution are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.