... | ... |
@@ -19,22 +19,10 @@ Check Perl version. You can use GitPrep if the Perl version is 5.8.7+; |
19 | 19 |
|
20 | 20 |
perl -v |
21 | 21 |
|
22 |
-## Configuration |
|
23 |
- |
|
24 |
-GitPrep needs the git command. You must install git by yourself. |
|
25 |
-If you haven't set user.name and user.email, you must set them. |
|
26 |
-For example: |
|
27 |
- |
|
28 |
- git config --global user.name "gitprep" |
|
29 |
- git config --global user.email "gitprep@example.com" |
|
30 |
- |
|
31 |
-If you install git in your local directry, |
|
32 |
-you must add the correct git command path to the **gitprep.conf** config file |
|
33 |
- |
|
34 |
- [basic] |
|
35 |
- ;;; Git command path |
|
36 |
- git_bin=/home/yourname/local/bin/git |
|
22 |
+### Checki git command existance |
|
37 | 23 |
|
24 |
+ git --version |
|
25 |
+ |
|
38 | 26 |
## A. Installation when you run GitPrep as CGI script |
39 | 27 |
|
40 | 28 |
Download tar.gz archive, expand it and change directory: |
... | ... |
@@ -48,6 +36,13 @@ Setup. Needed module is installed. |
48 | 36 |
|
49 | 37 |
./setup.sh |
50 | 38 |
|
39 |
+If you install git in your local directry, |
|
40 |
+you must add the correct git command path to the **gitprep.conf** config file. |
|
41 |
+ |
|
42 |
+ [basic] |
|
43 |
+ ;;; Git command path |
|
44 |
+ git_bin=/home/yourname/local/bin/git |
|
45 |
+ |
|
51 | 46 |
Check setup. Run the following command. |
52 | 47 |
|
53 | 48 |
prove t |
... | ... |
@@ -96,6 +91,11 @@ Create a **gitprep** user. This is not necessary, but recommended: |
96 | 91 |
su - gitprep |
97 | 92 |
cd ~ |
98 | 93 |
|
94 |
+And config global git config |
|
95 |
+ |
|
96 |
+ git config --global user.name "gitprep" |
|
97 |
+ git config --global user.email "gitprep@example.com" |
|
98 |
+ |
|
99 | 99 |
### Download |
100 | 100 |
|
101 | 101 |
Download tar.gz archive, expand it and change directory: |
... | ... |
@@ -137,6 +137,15 @@ You can stop the application by adding the **--stop** option. |
137 | 137 |
|
138 | 138 |
## FAQ |
139 | 139 |
|
140 |
+## Cna't find git command from GitPrep |
|
141 |
+ |
|
142 |
+If you install git in your local directry, |
|
143 |
+you must add the correct git command path to the **gitprep.conf** config file. |
|
144 |
+ |
|
145 |
+ [basic] |
|
146 |
+ ;;; Git command path |
|
147 |
+ git_bin=/home/yourname/local/bin/git |
|
148 |
+ |
|
140 | 149 |
### blame don't work |
141 | 150 |
|
142 | 151 |
In Gitprep, blame page use "git blame --line-porcelain". In old git, there is no --line-porcelain option. |