Skip to content

Commit da06656

Browse files
authoredApr 29, 2022
Merge pull request #2956 from zackschuster/patch-1
add fsck error workaround to contributing.md
2 parents c7ce0d7 + adf8838 commit da06656

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@
1515
* Use the same coding style as the rest of the [codebase](https://github.com/jashkenas/underscore/blob/master/modules/index.js).
1616

1717
* In your pull request, do not add documentation or re-build the minified `underscore-umd-min.js` file. We'll do those things before cutting a new release.
18+
19+
### "Help, cloning fails with `fatal: fsck error in packed object`"
20+
This error is caused by zero-padded file modes in the commit history. As fixing this is highly destructive, we suggest ignoring these warnings. The simplest way is to instruct git to do so when cloning. For example, to clone from `jashkenas/underscore`, run the following command: `git clone --config transfer.fsckobjects=false git@github.com:jashkenas/underscore.git`. If cloning from a different user or organization, replace `jashkenas` with their name in the previous command.

0 commit comments

Comments
 (0)