From 9a740d05aab3c8e92e2315d2d3210e3306202665 Mon Sep 17 00:00:00 2001
From: Dubiousjim <dubiousjim@gmail.com>
Date: Fri, 5 Jul 2013 00:21:32 -0400
Subject: [PATCH] abump: verify that we're in git tree

---
 abump.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/abump.in b/abump.in
index cf6b5eb629da..a344780a19ad 100755
--- a/abump.in
+++ b/abump.in
@@ -95,6 +95,7 @@ cvelist=
 fixes=
 
 [ -n "$APORTSDIR" ] || error "can't locate \$APORTSDIR"
+git rev-parse 2>/dev/null || die "not in a git tree"
 
 args=`getopt -o s:Rkqh --long security:,recursive,keep,quiet,help -n "$prog" -- "$@"`
 if [ $? -ne 0 ]; then
-- 
GitLab