Skip to content

Commit e2d2aac

Browse files
authored
Merge pull request git-for-windows#1708 from derrickstolee/contributing
Update CONTRIBUTING.md instructions
2 parents a60968c + 128e440 commit e2d2aac

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ GIT_PERF_LARGE_REPO=/path/to/large/repo
178178
GIT_PERF_REPEAT_COUNT=10
179179
```
180180

181+
When running the performance tests on Linux, you may see a message "Can't locate JSON.pm in
182+
@INC" and that means you need to run `sudo cpanm install JSON` to get the JSON perl package.
183+
181184
For running performance tests, it can be helpful to set up a few repositories with strange
182185
data shapes, such as:
183186

@@ -227,7 +230,8 @@ Then install the prerequisites, and `git` for the initial clone:
227230

228231
```
229232
sudo apt-get update
230-
sudo apt-get install git gcc make libssl-dev libcurl4-openssl-dev libexpat-dev tcl tk gettext git-email
233+
sudo apt-get install git gcc make libssl-dev libcurl4-openssl-dev \
234+
libexpat-dev tcl tk gettext git-email zlib1g-dev
231235
```
232236

233237
Then, clone and build:
@@ -274,7 +278,7 @@ In order to build and use `git`, you will need the following libraries via `apt-
274278
```
275279
sudo apt-get update
276280
sudo apt-get install git gcc make libssl-dev libcurl4-openssl-dev \
277-
libexpat-dev tcl tk gettext git-email
281+
libexpat-dev tcl tk gettext git-email zlib1g-dev
278282
```
279283

280284
To get your code from your Windows machine to the Linux VM, it is easiest to push the branch to your fork of Git and clone your fork in the Linux VM.

0 commit comments

Comments
 (0)