gitlab-org--gitlab-foss/spec/fixtures/patchfiles/0001-A-commit-from-a-patch.patch
Bob Van Landuyt 6fbdc5ed52 Apply patches when creating MR via email
This allows users to add patches as attachments to merge request
created via email.

When an email to create a merge request is sent, all the attachments
ending in `.patch` will be applied to the branch specified in the
subject of the email. If the branch did not exist, it will be created
from the HEAD of the repository.

When the patches could not be applied, the error message will be
replied to the user.

The patches can have a maximum combined size of 2MB for now.
2018-11-07 16:27:55 +01:00

19 lines
424 B
Diff

From 3fee0042e610fb3563e4379e316704cb1210f3de Mon Sep 17 00:00:00 2001
From: Patch User <patchuser@gitlab.org>
Date: Thu, 18 Oct 2018 13:40:35 +0200
Subject: [PATCH] A commit from a patch
---
README | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README b/README
index 3742e48..e40a3b9 100644
--- a/README
+++ b/README
@@ -1 +1,3 @@
Sample repo for testing gitlab features
+
+This was applied in a patch!
--
2.19.1