Revert "Added git-has(1) to check if a commit is present in the current branch"

This reverts commit 9bfe4af5db.
This commit is contained in:
TJ Holowaychuk 2012-06-21 15:31:05 -07:00
parent d90b17fde1
commit adcaf78418

View file

@ -1,6 +0,0 @@
#!/bin/sh
commit=$1
test -z $commit && echo "<commit> required" 1>&2 && exit 1
git branch --contains $commit | grep "*" > /dev/null && echo yes && exit
echo no && exit 1