summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-10 19:09:22 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-07-10 19:09:22 +0200
commitbe185369dcd0ee4a2f3985e87fcb8d95a5cf7b7f (patch)
treee1656bab57bf7044f7b35323e2c4b561deb5d7c2
parent451e27c832c0877aa7fa0a4fd354012c0357f9ba (diff)
Use git helper
Fixes #40
-rwxr-xr-xnix-script-switch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script-switch.sh b/nix-script-switch.sh
index 9b25614..318cccf 100755
--- a/nix-script-switch.sh
+++ b/nix-script-switch.sh
@@ -92,7 +92,7 @@ then
fi
fi
- explain git --git-dir="$WD/.git" --work-tree="$WD" $GIT_COMMAND "$TAG_NAME"
+ __git $GIT_COMMAND "$TAG_NAME"
else
stderr "Switching failed. Won't executing any further commands."