From 984b939d44be346e94b7a602e7a38181a68d168d Mon Sep 17 00:00:00 2001 From: Doeke Zanstra Date: Wed, 28 Feb 2018 16:23:49 +0100 Subject: [PATCH] Version 0.6 and polished README --- README.md | 6 +++--- osagitfilter.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1d8d475..145e6a6 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@ Filter to put [OSA][] languages into a `git`-repository. So you can put your `.s Installation ------------ -Either clone [this repository](https://github.com/doekman/osagitfilter), or download the [latest release](https://github.com/doekman/osagitfilter/releases/latest). +Either clone [this repository](https://github.com/doekman/osagitfilter), or download the [latest release](https://github.com/doekman/osagitfilter/releases/latest) and unzip it to a folder where you want to install it. Configure the filter by running the following command: ./setup.sh configure -Put the line `*.scpt filter=osa` in your [gitattributes][] of your repository. Do this by running the command below in the root of your repository: +For every reporistory you want to use it, put the line `*.scpt filter=osa` in the [gitattributes][] of your repository. Do this by running the command below in the root of your repository: echo "*.scpt filter=osa" >> .gitattributes @@ -33,7 +33,7 @@ If you have trouble with the script, switch on logging with: ./setup.sh configure --git-log -Logging can be found in `~/Library/Logs/Catsdeep/` and can be easy inspected with `Console.app`. +Logging can be found in `~/Library/Logs/Catsdeep/osagitfilter.log` and can be easy inspected with `Console.app`. Some git-clients, like GitHub Desktop, can be quite chatty so log files grow quite fast. With the following command you can create a new log file, while preserving the old ones: diff --git a/osagitfilter.sh b/osagitfilter.sh index 90f31c5..32c8d2a 100755 --- a/osagitfilter.sh +++ b/osagitfilter.sh @@ -4,7 +4,7 @@ set -euo pipefail IFS=$'\n\t' -SCRIPT_VER=0.5 +SCRIPT_VER=0.6 SCRIPT_NAME=$(basename $0 .sh) CALLED_WITH="$0 $@" LOG_PATH=~/Library/Logs/Catsdeep/