blob: 6ff2cc3fabd9d6e2da7b091ad3fa803ab2171e25 [file] [log] [blame]
#!/usr/bin/env bash
# Simple wrapper for getting the current branch on a git repo.
. llvm-common
if is_git > /dev/null 2>&1; then
get_branch
else
echo "You're not in a git repository"
exit 1
fi