diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-27 18:56:15 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-27 18:56:15 +0200 |
| commit | 69f17767abac2a31ffdaeebc6bc5997b102ffe92 (patch) | |
| tree | b0916e5e401cfb4b3cdd520e8cedd7aa355451a7 /SOURCE/CORE/core-add.sh | |
| parent | 6c563f788d60acab6947637ea6e05eeef103abd1 (diff) | |
| download | bash-notes-69f17767abac2a31ffdaeebc6bc5997b102ffe92.tar.gz bash-notes-69f17767abac2a31ffdaeebc6bc5997b102ffe92.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'SOURCE/CORE/core-add.sh')
| -rw-r--r-- | SOURCE/CORE/core-add.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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" |
