From f2d9253550ae2e05a4d18f3a1abc310717a79b73 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 25 Oct 2023 18:09:24 -0700 Subject: [PATCH] Add more detail about how to compile the binary --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b961d50..eed11bb 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,12 @@ choice. If you get version `1.5`, jump to the compilation step below. If not, you first need to change the version used in the code. Using the table on the [libgit2](https://github.com/libgit2/git2go#which-go-version-to-use) -repository, figure out which version you need. Then, replace the `v34` in the -`go.mod` file and in all files under the `splitter/` directory. Run `go mod tidy`. +repository, figure out which version you need. Lets say you need version `v31`: + +```bash +sed -i -e 's/v34/v31/g' go.mod splitter/*.go +go mod tidy +``` Then, compile `splitsh-lite`: @@ -137,9 +141,6 @@ Available options: * `--progress` displays a progress bar; - * `--quiet` suppresses all output on stderr (useful when run from an automated - script); - * `--scratch` flushes the cache (useful when a branch is force pushed or in case of a cache corruption).