about summary refs log tree commit diff
path: root/third_party/git/t/t7511-status-index.sh
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/t7511-status-index.sh
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/t7511-status-index.sh')
-rwxr-xr-xthird_party/git/t/t7511-status-index.sh50
1 files changed, 0 insertions, 50 deletions
diff --git a/third_party/git/t/t7511-status-index.sh b/third_party/git/t/t7511-status-index.sh
deleted file mode 100755
index b5fdc048a54a..000000000000
--- a/third_party/git/t/t7511-status-index.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-test_description='git status with certain file name lengths'
-
-. ./test-lib.sh
-
-files="0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z"
-
-check() {
-	len=$1
-	prefix=$2
-
-	for i in $files
-	do
-		: >$prefix$i
-	done
-
-	test_expect_success "status, filename length $len" "
-		git add $prefix* &&
-		git status
-	"
-	rm $prefix* .git/index
-}
-
-check  1
-check  2 p
-check  3 px
-check  4 pre
-check  5 pref
-check  6 prefi
-check  7 prefix
-check  8 prefix-
-check  9 prefix-p
-check 10 prefix-pr
-check 11 prefix-pre
-check 12 prefix-pref
-check 13 prefix-prefi
-check 14 prefix-prefix
-check 15 prefix-prefix-
-check 16 prefix-prefix-p
-check 17 prefix-prefix-pr
-check 18 prefix-prefix-pre
-check 19 prefix-prefix-pref
-check 20 prefix-prefix-prefi
-check 21 prefix-prefix-prefix
-check 22 prefix-prefix-prefix-
-check 23 prefix-prefix-prefix-p
-check 24 prefix-prefix-prefix-pr
-
-test_done