summaryrefslogtreecommitdiff
path: root/absurd/git
diff options
context:
space:
mode:
Diffstat (limited to 'absurd/git')
-rwxr-xr-xabsurd/git6
1 files changed, 5 insertions, 1 deletions
diff --git a/absurd/git b/absurd/git
index cab0320..d8ac24e 100755
--- a/absurd/git
+++ b/absurd/git
@@ -25,6 +25,10 @@ if test "x$PATH" = "x$npath"; then
fail "PATH FILTER FAIL ($0 $self $PATH)"
fi
+filter_path () {
+ PATH=$npath
+}
+
bypass=true
for arg in "$@"; do
case "$arg" in
@@ -35,7 +39,7 @@ for arg in "$@"; do
done
if $bypass; then
- PATH=$npath
+ filter_path
echo >&3 "DGIT ABSURD GIT APPLY - BYPASS: $*"
exec git "$@"
fi