From 7d4e72c043df00ad345f4030203a2219348f1917 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Mon, 28 Jul 2008 17:58:36 +0200 Subject: [PATCH] shlib.sh: Fix the git wrapper Apparently, alias is not enough, we need a function instead. --- shlib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shlib.sh b/shlib.sh index 78c1db1..c1d6fb5 100644 --- a/shlib.sh +++ b/shlib.sh @@ -13,7 +13,7 @@ eval $(perl -I@basedir@ $__girocco_extrainc -M$__girocco_conf -le \ }') -alias git="$cfg_git_bin" +git() { "$cfg_git_bin" "$@"; } # bang CMD... will execute the command with well-defined failure mode; -- 2.11.4.GIT