File: 0003-disable-git-hook-installation.patch

package info (click to toggle)
transmission 4.1.0~beta2%2Bdfsg-3%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 39,812 kB
  • sloc: cpp: 146,009; javascript: 5,801; ansic: 4,119; xml: 550; sh: 477; python: 213; makefile: 75
file content (22 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: "Barak A. Pearlmutter" <barak+git@pearlmutter.net>
Date: Sat, 6 Apr 2024 13:17:08 +0100
Subject: disable git hook installation

Forwarded: not-needed
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2c1c897..b777b50 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -865,7 +865,7 @@ list(APPEND CPACK_SOURCE_IGNORE_FILES
 
 ## Code Formatting
 
-if(GIT_FOUND)
+if(FALSE) # (GIT_FOUND)
     execute_process(
         COMMAND "${GIT_EXECUTABLE}" rev-parse --show-toplevel
         WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}