The changes are only shown in the editor and do not land in the final commit message. For that setting the git-commit-last-msg function and the commit-msg hook had to be updated. The function is now a standalone function instead of anonymous and uses every line until the first comment in COMMIT_EDITMSG discarding the new information too. The hook breaks now when checking line lengths when the changes start since for some weird reason they are passed together with the rest of the message instead of being deleted like the comments.
27 lines
746 B
Plaintext
27 lines
746 B
Plaintext
[user]
|
|
email = 63563978+druckdev@users.noreply.github.com
|
|
name = druckdev
|
|
signingkey = 2BA20014C779A9611ED81E2163DF2C14933E928C
|
|
[commit]
|
|
gpgsign = true
|
|
verbose = true
|
|
[difftool "meld"]
|
|
path = /usr/bin/meld
|
|
[color "status"]
|
|
added = 076
|
|
untracked = 014
|
|
[core]
|
|
pager = diff-so-fancy | less --tabs=8 -Rg -+FX -p'^(commit|added|deleted|modified|renamed|(Submodule .* [a-f0-9]+[.]+[a-f0-9]+))[: ]'
|
|
excludesfile = ~/.config/git/ignore
|
|
[alias]
|
|
root = rev-parse --show-toplevel
|
|
spull = "__git_spull() { git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive; }; __git_spull"
|
|
[status]
|
|
submodulesummary = true
|
|
[diff]
|
|
submodule = log
|
|
[rebase]
|
|
autostash = true
|
|
[include]
|
|
path = user.config
|