20 Commits

Author SHA1 Message Date
Ben Grande
7928a352be
fix: disable use of prepare-commit-msg hook
Causing issues when doing an amend and also is not desired as it doesn't
allow including many scripts to be run in a hook stage.
2025-01-09 17:40:12 +01:00
Ben Grande
b025ea0fea
fix: escape newline characters in git aliases
When 'git config --get "alias.*"' is run, it expands especial characters
breaking the retrieval of aliases and assignment for shell aliases
starting the g for git.
2024-12-03 11:29:37 +01:00
Ben Grande
7659897283
fix: skip edit of files owned by system packages
Fix: https://github.com/ben-grande/qusal/issues/101
2024-10-14 17:03:57 +02:00
Ben Grande
d13a21a734
fix: avoid echo usage
Echo can interpret operand as an option and checking every variable to
be echoed is troublesome while with printf, if the format specifier is
present before the operand, printing as string can be enforced.
2024-08-06 18:12:46 +02:00
Ben Grande
b38834d66b
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without
it.
2024-08-06 17:13:11 +02:00
Ben Grande
69c14a2429
feat: enable all optional shellcheck validations 2024-07-10 14:35:36 +02:00
Ben Grande
024e9c469d
fix: limit shellscript line length to 78 chars 2024-07-09 17:39:25 +02:00
Ben Grande
5936b2059c
chore: editorconfig check 2024-07-08 19:59:27 +02:00
Ben Grande
c9544bdc5c
feat: add git alias to amend commits 2024-05-23 11:49:49 +02:00
Ben Grande
b44fbb6d98
fix: line break on git alias breaks zsh completion
Only happens if line breaks occurs on the first line of the completion,
the other lines are ignored.
2024-05-21 11:02:09 +02:00
Ben Grande
9954972df3
fix: POSIX does not support head byte count
Test done on OpenBSD for compatibility with the POSIX specification,
also becoming a new supported system.
2024-04-23 18:34:10 +02:00
Ben Grande
4d63820f64
fix: hide command check output 2024-03-23 21:43:07 +01:00
Ben Grande
d3222aab71
feat: alias to sign arbitrary tags 2024-03-19 19:55:21 +01:00
Ben Grande
1afa166f3e
feat: support diff highlight for inline patch diff 2024-03-19 19:26:55 +01:00
Ben Grande
be906da205
fix: invalid value of git option 2024-01-25 18:49:44 +01:00
Ben Grande
932dab7bfc
fix: remove unused git aliases 2024-01-18 09:23:37 +01:00
Ben Grande
cca2e802b7
fix: phase out split-gpg in favor of split-gpg2 2023-12-28 01:36:51 +01:00
Ben Grande
4cdc092a3b
fix: push default current branch
The option push.default=upstream is not suitable for when the branch is
not created yet as it will default to the upstream branch. Even if
specifying the refspec as an argument, it will still push to the default
one, creating a mess.
2023-11-21 17:06:01 +00:00
Ben Grande
31a64724d6
Fix git description validation 2023-11-13 14:26:13 +00:00
Ben Grande
db0d57cfcf
Initial commit 2023-11-13 14:11:21 +00:00