From adcaf78418906d7d69d68965a536015fc1c0e5e3 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Thu, 21 Jun 2012 15:31:05 -0700 Subject: [PATCH] Revert "Added git-has(1) to check if a commit is present in the current branch" This reverts commit 9bfe4af5dbc5e1aee5cfa9a022c8f32b710552b3. --- bin/git-has | 6 ------ 1 file changed, 6 deletions(-) delete mode 100755 bin/git-has diff --git a/bin/git-has b/bin/git-has deleted file mode 100755 index 711bf5a..0000000 --- a/bin/git-has +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -commit=$1 -test -z $commit && echo " required" 1>&2 && exit 1 -git branch --contains $commit | grep "*" > /dev/null && echo yes && exit -echo no && exit 1