commit message
This commit is contained in:
4
justfile
4
justfile
@@ -283,9 +283,9 @@ build-package-sources +packages:
|
||||
# === commit helpers ===
|
||||
|
||||
[no-cd]
|
||||
@commit-staged:
|
||||
@commit-staged *$message:
|
||||
test -n "$(git diff HEAD --name-only --staged)" || ! echo >&2 "No files are staged!"
|
||||
$GIT -c commit.template=<(git diff HEAD --name-only --staged | just _list_packages_fname_filtered | cut -f1 | sed -e 's/$/: /g') commit && git show
|
||||
$GIT -c commit.template=<(git diff HEAD --name-only --staged | just _list_packages_fname_filtered | cut -f1 | xargs -d'\n' printf "%s: ${*//%/%%}\n") commit && git show
|
||||
|
||||
[no-cd]
|
||||
commit-dirty-packages +$message=`gum input --placeholder="commit message, (attrpath: this message)"`:
|
||||
|
||||
Reference in New Issue
Block a user