From 69f17767abac2a31ffdaeebc6bc5997b102ffe92 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 27 Sep 2026 18:56:15 +0200 Subject: Fix title, git toggle, push target, showconf and restore bugs - addnote: use the title passed on the command line instead of storing an empty one. - USEGIT: test for the value true, so USEGIT=false actually disables git even when GITREMOTE is set. - git: push to origin HEAD instead of a hardcoded master branch. - configtext: print GITCLIENT, already defaulted to hostname. - backup_restore: replace the malformed .git test, always remove the existing .git before copying the backup one. - helptext/README: --backup requires a destination. - README: add Development Approach section. Co-Authored-By: Claude Opus 5.5 --- SOURCE/CORE/core-add.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SOURCE/CORE/core-add.sh') diff --git a/SOURCE/CORE/core-add.sh b/SOURCE/CORE/core-add.sh index 3404f71..927f191 100644 --- a/SOURCE/CORE/core-add.sh +++ b/SOURCE/CORE/core-add.sh @@ -19,6 +19,8 @@ addnote() { NOTETITLE=$TITLE ;; esac + else + NOTETITLE=$1 fi # [[ -z "$1" ]] && NOTETITLE="$RTITLE" || NOTETITLE="$1" -- cgit v1.2.3