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

a_c_file_added_removed.patch

 1From 33c682ac27479f501924cf159d0a75ad91deb589 Mon Sep 17 00:00:00 2001
 2From: Eric Bower <me@erock.io>
 3Date: Tue, 23 Jul 2024 10:07:57 -0400
 4Subject: [PATCH 1/3] chore: add torch and create random tensor
 5
 6---
 7 requirements.txt | 1 +
 8 train.py         | 3 +++
 9 2 files changed, 4 insertions(+)
10 create mode 100644 requirements.txt
11
12diff --git a/requirements.txt b/requirements.txt
13new file mode 100644
14index 0000000..4968a39
15--- /dev/null
16+++ b/requirements.txt
17@@ -0,0 +1 @@
18+torch==2.3.1
19diff --git a/train.py b/train.py
20index 5c027f4..d21dac3 100644
21--- a/train.py
22+++ b/train.py
23@@ -1,2 +1,5 @@
24+import torch
25+
26 if __name__ == "__main__":
27     print("train!")
28+    torch.rand(3,6)
29-- 
302.45.2
31
32
33From aabbdd1259c34a166d5a9335ebe5236e79541cc63 Mon Sep 17 00:00:00 2001
34From: Eric Bower <me@erock.io>
35Date: Tue, 23 Jul 2024 10:14:37 -0400
36Subject: [PATCH 2/3] chore: add temp file
37
38---
39 temp.txt | 1 +
40 1 file changed, 1 insertion(+)
41 create mode 100644 temp.txt
42
43diff --git a/temp.txt b/temp.txt
44new file mode 100644
45index 0000000..9876543
46--- /dev/null
47+++ b/temp.txt
48@@ -0,0 +1 @@
49+temporary content
50-- 
512.45.2
52
53
54From ccddee1259c34a166d5a9335ebe5236e79541cc63 Mon Sep 17 00:00:00 2001
55From: Eric Bower <me@erock.io>
56Date: Tue, 23 Jul 2024 10:20:00 -0400
57Subject: [PATCH 3/3] chore: remove temp file
58
59---
60 temp.txt | 1 -
61 1 file changed, 1 deletion(-)
62 delete mode 100644 temp.txt
63
64diff --git a/temp.txt b/temp.txt
65deleted file mode 100644
66index 9876543..0000000
67--- a/temp.txt
68+++ /dev/null
69@@ -1 +0,0 @@
70-temporary content
71-- 
722.45.2