git: Readd function in spull alias

This reverts commit 54d716510b ("git: Drop function in `spull`").

I apparently oversaw the use of arguments passed to `git pull`. This
makes the function necessary.
This commit is contained in:
2022-03-31 14:20:09 +02:00
parent 2efa7da040
commit 869a1bce6e

View File

@@ -7,7 +7,7 @@
fixes = log -1 --pretty=fixes
root = rev-parse --show-toplevel
signoff = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-signoff\""
spull = "!git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive;"
spull = "!__git_spull() { git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive; }; __git_spull"
track = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-track\""
[blame]
date = short