gstreamer/checkout-branch-worktree
Nirbheek Chauhan 769711394e gst-worktree: Add sub-commands: add and rm
`add` behaves the same as before. `rm` removes worktrees.

`git worktree remove` on the gst-build worktree will delete the
subproject worktrees inside it, but will not remove the references to
them in the main repository's subproject worktrees. The `rm` command
will.
2019-11-24 01:25:38 +05:30

11 lines
142 B
Bash
Executable file

#!/bin/sh
cd `dirname $0`
case "$MSYSTEM" in
*MINGW*) PYTHON="py -3";;
*) PYTHON="python3";;
esac
$PYTHON gst-worktree.py add "$@"