From eb3b3a8f4be0903cd73193e563c7b56ad48bf54e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 May 2015 14:15:34 +0100 Subject: Check for deliberatelies correctly (in-memory data structures have full name) --- dgit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index e80faf3..5d239d6 100755 --- a/dgit +++ b/dgit @@ -183,7 +183,8 @@ sub changedir ($) { } sub deliberately ($) { - return !!grep { $_[0] eq $_ } @deliberatelies; + my ($enquiry) = @_; + return !!grep { $_ eq "--deliberately-$enquiry" } @deliberatelies; } #---------- remote protocol support, common ---------- -- cgit v1.2.3