- commit
- da60fa023abe83254fcb031129bc4926496f5e78
- parent
- e8bc741832375ac63e9cb4f8293c377da335cf94
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-03-27 05:43
fix readme formatting
Diffstat
M | README | 28 | +++++++++++++++------------- |
1 files changed, 15 insertions, 13 deletions
diff --git a/README b/README
@@ -22,8 +22,8 @@ Make index file for repositories: 22 22 Build and install 23 23 ----------------- 24 2425 -1 $ make26 -1 # make install-1 25 $ make -1 26 # make install 27 27 28 28 29 29 Dependencies @@ -48,19 +48,19 @@ It may be useful to build static binaries, for example to run in a chroot. 48 48 49 49 It can be done like this at the time of writing (v0.24): 50 5051 -1 cd libgit2-src-1 51 cd libgit2-src 52 5253 -1 # change the options in the CMake file: CMakeLists.txt54 -1 BUILD_SHARED_LIBS to OFF (static)55 -1 CURL to OFF (not needed)56 -1 USE_SSH OFF (not needed)57 -1 THREADSAFE OFF (not needed)58 -1 USE_OPENSSL OFF (not needed, use builtin)-1 53 # change the options in the CMake file: CMakeLists.txt -1 54 BUILD_SHARED_LIBS to OFF (static) -1 55 CURL to OFF (not needed) -1 56 USE_SSH OFF (not needed) -1 57 THREADSAFE OFF (not needed) -1 58 USE_OPENSSL OFF (not needed, use builtin) 59 5960 -1 mkdir -p build && cd build61 -1 cmake ../62 -1 make63 -1 make install-1 60 mkdir -p build && cd build -1 61 cmake ../ -1 62 make -1 63 make install 64 64 65 65 66 66 Extract owner field from git config @@ -82,6 +82,7 @@ Script: 82 82 83 83 Set clone url for a directory of repos 84 84 -------------------------------------- -1 85 85 86 #!/bin/sh 86 87 cd "$dir" 87 88 for i in *; do @@ -121,6 +122,7 @@ git post-receive hook (repo/.git/hooks/post-receive): 121 122 122 123 Create .tar.gz archives by tag 123 124 ------------------------------ -1 125 124 126 #!/bin/sh 125 127 name="stagit" 126 128 mkdir -p archives