From 6ce24a2c4d63557d0917f3b16cfd0b7bf6a2349f Mon Sep 17 00:00:00 2001 From: Zack Schuster Date: Thu, 23 Dec 2021 09:12:35 -0800 Subject: [PATCH 1/3] add fsck error workaround to contributing.md #2887 --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4d29286a6..37469a615 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,3 +15,6 @@ * Use the same coding style as the rest of the [codebase](https://github.com/jashkenas/underscore/blob/master/modules/index.js). * 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. + +## "Help, cloning fails with `fatal: fsck error in packed object`" +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: `git clone --config transfer.fsckobjects=false git@github.com:jashkenas/underscore.git` From 5af5ecbf4c8ffecbfc3a4d870978b1cbb3ccd068 Mon Sep 17 00:00:00 2001 From: Zack Schuster Date: Fri, 29 Apr 2022 10:59:42 -0700 Subject: [PATCH 2/3] update contributing to clarify how to clone from other sources --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 37469a615..f648da50e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,4 +17,4 @@ * 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. ## "Help, cloning fails with `fatal: fsck error in packed object`" -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: `git clone --config transfer.fsckobjects=false git@github.com:jashkenas/underscore.git` +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. \ No newline at end of file From adf88386f37d514f573f0c24219948682cc1194e Mon Sep 17 00:00:00 2001 From: Zack Schuster Date: Fri, 29 Apr 2022 12:05:43 -0700 Subject: [PATCH 3/3] fix heading nesting --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f648da50e..b55e1765d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,5 +16,5 @@ * 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. -## "Help, cloning fails with `fatal: fsck error in packed object`" +### "Help, cloning fails with `fatal: fsck error in packed object`" 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. \ No newline at end of file