mirror of
https://github.com/tj/git-extras.git
synced 2026-09-14 01:16:31 -04:00
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:
parent
d90b17fde1
commit
adcaf78418
|
|
@ -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
|
||||
Loading…
Reference in a new issue