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

package info (click to toggle)
transmission 4.1.0~beta3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,800 kB
  • sloc: cpp: 223,954; python: 6,998; javascript: 6,211; ansic: 5,826; sh: 771; xml: 550; makefile: 73
file content (20 lines) | stat: -rw-r--r-- 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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(-)

--- transmission.git.orig/CMakeLists.txt	2025-11-06 14:14:08.484612573 +0100
+++ transmission.git/CMakeLists.txt	2025-11-06 14:14:08.484612573 +0100
@@ -885,7 +885,7 @@
 
 ## Code Formatting
 
-if(GIT_FOUND)
+if(FALSE) # (GIT_FOUND)
     execute_process(
         COMMAND "${GIT_EXECUTABLE}" rev-parse --show-toplevel
         WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}