From 869a1bce6e3174abf1a11416ff5b2a7790017d69 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 31 Mar 2022 14:20:09 +0200 Subject: [PATCH] git: Readd function in `spull` alias This reverts commit 54d716510b64 ("git: Drop function in `spull`"). I apparently oversaw the use of arguments passed to `git pull`. This makes the function necessary. --- .config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index 42a1650..b25a20e 100644 --- a/.config/git/config +++ b/.config/git/config @@ -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