File: fix-33-worktree.patch

package info (click to toggle)
libgit-raw-perl 0.79-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,420 kB
  • sloc: perl: 5,263; ansic: 182; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 750 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 1763afa8206e0cedd1ed245a94103461df76ab0f Mon Sep 17 00:00:00 2001
From: Jacques Germishuys <jacques.germishuys@gmail.com>
Date: Tue, 11 Dec 2018 17:49:17 +0200
Subject: [PATCH] minor fixes

Origin: backport, https://github.com/jacquesg/p5-Git-Raw/commit/30f7a4491ab453d28ae1fa1b393fcd023f6c344d
Bug-Debian: https://bugs.debian.org/918435

diff --git a/t/33-worktree.t b/t/33-worktree.t
index 115b9970..ffe087cd 100644
--- a/t/33-worktree.t
+++ b/t/33-worktree.t
@@ -39,8 +39,6 @@ is $r, 'locking';
 ok (!eval { $worktree1 -> lock("locking again")});
 $worktree1 -> unlock;
 ok (!$worktree1 -> is_locked);
-$worktree1 -> unlock;
-ok (!$worktree1 -> is_locked);
 
 Git::Raw::Worktree -> list($repo);
 my @list = Git::Raw::Worktree -> list($repo);