repos / git-pr

a self-hosted git collaboration server
git clone https://github.com/picosh/git-pr.git

git-pr / fixtures
Eric Bower  ·  2025-12-13

hunk_header_v1.patch

 1From cccc3333333333333333333333333333cccccccc Mon Sep 17 00:00:00 2001
 2From: Test User <test@example.com>
 3Date: Tue, 23 Jul 2024 10:07:57 -0400
 4Subject: [PATCH] fix: change timeout value
 5
 6---
 7 server.go | 2 +-
 8 1 file changed, 1 insertion(+), 1 deletion(-)
 9
10diff --git a/server.go b/server.go
11index 1111111..2222222 100644
12--- a/server.go
13+++ b/server.go
14@@ -10,7 +10,7 @@ func init() {
15 	log.Println("starting")
16 	db.Connect()
17 	cache.Init()
18-	timeout := 30
19+	timeout := 60
20 	server.Start()
21 	log.Println("ready")
22 }
23-- 
242.45.2