about summary refs log tree commit diff stats
path: root/subx/gg
blob: 03b356f3326d7f94bf1f2997f7ba90cf5a203cfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env zsh
# Run git commands on a specific example's generated binary.

if [ $# -eq 0 ]
then
  echo "g <git command> <args> <suffix>"
  exit 1
fi

arg=( $* )
suffix=$arg[${#arg[@]}]
unset "arg[${#arg[@]}]"

git ${arg[@]} ./teensy/test$suffix