about summary refs log tree commit diff
path: root/third_party/git/t/t4051
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-21T10·03+0300
committerVincent Ambo <mail@tazj.in>2021-09-21T11·29+0300
commit43b1791ec601732ac31195df96781a848360a9ac (patch)
treedaae8d638343295d2f1f7da955e556ef4c958864 /third_party/git/t/t4051
parent2d8e7dc9d9c38127ec4ebd13aee8e8f586a43318 (diff)
chore(3p/git): Unvendor git and track patches instead r/2903
This was vendored a long time ago under the expectation that keeping
it in sync with cgit would be easier this way, but it has proven not
to be a big issue.

On the other hand, a vendored copy of git is an annoying maintenance
burden. It is much easier to rebase the single (dottime) patch that we
have.

This removes the vendored copy of git and instead passes the git
source code to cgit via `pkgs.srcOnly`, which includes the applied
patch so that cgit can continue rendering dottime.

Change-Id: If31f62dea7ce688fd1b9050204e9378019775f2b
Diffstat (limited to 'third_party/git/t/t4051')
-rw-r--r--third_party/git/t/t4051/appended1.c15
-rw-r--r--third_party/git/t/t4051/appended2.c35
-rw-r--r--third_party/git/t/t4051/dummy.c7
-rw-r--r--third_party/git/t/t4051/hello.c24
-rw-r--r--third_party/git/t/t4051/includes.c20
5 files changed, 0 insertions, 101 deletions
diff --git a/third_party/git/t/t4051/appended1.c b/third_party/git/t/t4051/appended1.c
deleted file mode 100644
index a9f56f11db3e..000000000000
--- a/third_party/git/t/t4051/appended1.c
+++ /dev/null
@@ -1,15 +0,0 @@
-
-int appended(void) // Begin of first part
-{
-	int i;
-	char *s = "a string";
-
-	printf("%s\n", s);
-
-	for (i = 99;
-	     i >= 0;
-	     i--) {
-		printf("%d bottles of beer on the wall\n", i);
-	}
-
-	printf("End of first part\n");
diff --git a/third_party/git/t/t4051/appended2.c b/third_party/git/t/t4051/appended2.c
deleted file mode 100644
index e651f7147b97..000000000000
--- a/third_party/git/t/t4051/appended2.c
+++ /dev/null
@@ -1,35 +0,0 @@
-	printf("Begin of second part\n");
-
-	/*
-	 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
-	 * sed diam nonumy eirmod tempor invidunt ut labore et dolore
-	 * magna aliquyam erat, sed diam voluptua. At vero eos et
-	 * accusam et justo duo dolores et ea rebum. Stet clita kasd
-	 * gubergren, no sea takimata sanctus est Lorem ipsum dolor
-	 * sit amet.
-	 *
-	 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
-	 * sed diam nonumy eirmod tempor invidunt ut labore et dolore
-	 * magna aliquyam erat, sed diam voluptua. At vero eos et
-	 * accusam et justo duo dolores et ea rebum. Stet clita kasd
-	 * gubergren, no sea takimata sanctus est Lorem ipsum dolor
-	 * sit amet.
-	 *
-	 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
-	 * sed diam nonumy eirmod tempor invidunt ut labore et dolore
-	 * magna aliquyam erat, sed diam voluptua. At vero eos et
-	 * accusam et justo duo dolores et ea rebum. Stet clita kasd
-	 * gubergren, no sea takimata sanctus est Lorem ipsum dolor
-	 * sit amet.
-	 *
-	 * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr,
-	 * sed diam nonumy eirmod tempor invidunt ut labore et dolore
-	 * magna aliquyam erat, sed diam voluptua. At vero eos et
-	 * accusam et justo duo dolores et ea rebum. Stet clita kasd
-	 * gubergren, no sea takimata sanctus est Lorem ipsum dolor
-	 * sit amet.
-	 *
-	 */
-
-	return 0;
-}	// End of second part
diff --git a/third_party/git/t/t4051/dummy.c b/third_party/git/t/t4051/dummy.c
deleted file mode 100644
index a43016e870ff..000000000000
--- a/third_party/git/t/t4051/dummy.c
+++ /dev/null
@@ -1,7 +0,0 @@
-
-static int dummy(void)	// Begin of dummy
-{
-	int rc = 0;
-
-	return rc;
-}	// End of dummy
diff --git a/third_party/git/t/t4051/hello.c b/third_party/git/t/t4051/hello.c
deleted file mode 100644
index 73e767e1783d..000000000000
--- a/third_party/git/t/t4051/hello.c
+++ /dev/null
@@ -1,24 +0,0 @@
-
-/*
- * Hello comment.
- */
-static void hello(void)	// Begin of hello
-{
-	/*
-	 * Classic.
-	 */
-	putchar('H');
-	putchar('e');
-	putchar('l');
-	putchar('l');
-	putchar('o');
-	putchar(' ');
-	/* delete me from hello */
-	putchar('w');
-	putchar('o');
-	putchar('r');
-	putchar('l');
-	putchar('d');
-	putchar('.');
-	putchar('\n');
-}	// End of hello
diff --git a/third_party/git/t/t4051/includes.c b/third_party/git/t/t4051/includes.c
deleted file mode 100644
index efc68f8bf6de..000000000000
--- a/third_party/git/t/t4051/includes.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <Begin.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <stddef.h>
-#include <stdlib.h>
-#include <stdarg.h>
-/* delete me from includes */
-#include <string.h>
-#include <sys/types.h>
-#include <dirent.h>
-#include <sys/time.h>
-#include <time.h>
-#include <signal.h>
-#include <assert.h>
-#include <regex.h>
-#include <utime.h>
-#include <syslog.h>
-#include <End.h>