From eb3d46308157e10eb11ec96bcf14b319279d09d3 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Fri, 7 Jun 2019 10:57:47 -0500 Subject: gitfast: update to upstream v2.21 (#7914) * gitfast: use $OSTYPE again In the last update to upstream this was reverted: a56eac7a (Use OSTYPE instead of uname whenever possible for better speed. (#5496)) Signed-off-by: Felipe Contreras * gitfast: simplify plugin No need to set and unset a variable we use once. Signed-off-by: Felipe Contreras * gitfast: add script to update from upstream This would make easier the process of updating, and also not miss our patches. Signed-off-by: Felipe Contreras * gitfast: update to upstream v2.21 Signed-off-by: Felipe Contreras --- plugins/gitfast/update | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 plugins/gitfast/update (limited to 'plugins/gitfast/update') diff --git a/plugins/gitfast/update b/plugins/gitfast/update new file mode 100755 index 000000000..76ecc71e0 --- /dev/null +++ b/plugins/gitfast/update @@ -0,0 +1,9 @@ +#!/bin/sh + +url="https://git.kernel.org/pub/scm/git/git.git/plain/contrib/completion" +version="2.21.0" + +curl -s -o _git "${url}/git-completion.zsh?h=v${version}" && +curl -s -o git-completion.bash "${url}/git-completion.bash?h=v${version}" && +curl -s -o git-prompt.sh "${url}/git-prompt.sh?h=v${version}" && +git apply updates.patch -- cgit v1.2.3-70-g09d2