about summary refs log tree commit diff
path: root/third_party/git/t/t7500
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/t7500
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/t7500')
-rwxr-xr-xthird_party/git/t/t7500/add-comments4
-rwxr-xr-xthird_party/git/t/t7500/add-content3
-rwxr-xr-xthird_party/git/t/t7500/add-content-and-comment5
-rwxr-xr-xthird_party/git/t/t7500/add-signed-off3
-rwxr-xr-xthird_party/git/t/t7500/add-whitespaced-content8
-rwxr-xr-xthird_party/git/t/t7500/edit-content4
6 files changed, 0 insertions, 27 deletions
diff --git a/third_party/git/t/t7500/add-comments b/third_party/git/t/t7500/add-comments
deleted file mode 100755
index a72e65c8910f..000000000000
--- a/third_party/git/t/t7500/add-comments
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-echo "# this is a new comment" >> "$1"
-echo "# and so is this" >> "$1"
-exit 0
diff --git a/third_party/git/t/t7500/add-content b/third_party/git/t/t7500/add-content
deleted file mode 100755
index 2fa3d86a108d..000000000000
--- a/third_party/git/t/t7500/add-content
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-echo "commit message" >> "$1"
-exit 0
diff --git a/third_party/git/t/t7500/add-content-and-comment b/third_party/git/t/t7500/add-content-and-comment
deleted file mode 100755
index c4dccff13acf..000000000000
--- a/third_party/git/t/t7500/add-content-and-comment
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-echo "commit message" >> "$1"
-echo "# comment" >> "$1"
-exit 0
-
diff --git a/third_party/git/t/t7500/add-signed-off b/third_party/git/t/t7500/add-signed-off
deleted file mode 100755
index e1d856af6d8b..000000000000
--- a/third_party/git/t/t7500/add-signed-off
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-echo "Signed-off-by: foo <bar@frotz>" >> "$1"
-exit 0
diff --git a/third_party/git/t/t7500/add-whitespaced-content b/third_party/git/t/t7500/add-whitespaced-content
deleted file mode 100755
index ccf07c61a4e9..000000000000
--- a/third_party/git/t/t7500/add-whitespaced-content
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-sed -e 's/|$//' >>"$1" <<\EOF
-
- |
-commit message  	 |
-
-EOF
-exit 0
diff --git a/third_party/git/t/t7500/edit-content b/third_party/git/t/t7500/edit-content
deleted file mode 100755
index 08db9fdd2e68..000000000000
--- a/third_party/git/t/t7500/edit-content
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-sed -e "s/intermediate/edited/g" <"$1" >"$1-"
-mv "$1-" "$1"
-exit 0