chore: fix statix lint

This commit is contained in:
oddlama 2023-09-18 01:34:54 +02:00
parent 76afde26ef
commit ecd7eece1f
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 5 additions and 7 deletions

View file

@ -20,6 +20,8 @@
tags = "tag -l";
t = "tag -s -m ''";
fixup = ''!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ''${@:2} && EDITOR=true git rebase -i --gpg-sign --autostash --autosquash $TARGET^; }; f'';
# An alias that uses the previous commit message by default.
# Useful when you mess up entering the signing password and git aborts.
commit-reuse-message = ''!git commit --edit --file "$(git rev-parse --git-dir)"/COMMIT_EDITMSG'';
};
};