From 43b1791ec601732ac31195df96781a848360a9ac Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 21 Sep 2021 13:03:01 +0300 Subject: chore(3p/git): Unvendor git and track patches instead 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 --- third_party/git/t/t9131-git-svn-empty-symlink.sh | 110 ----------------------- 1 file changed, 110 deletions(-) delete mode 100755 third_party/git/t/t9131-git-svn-empty-symlink.sh (limited to 'third_party/git/t/t9131-git-svn-empty-symlink.sh') diff --git a/third_party/git/t/t9131-git-svn-empty-symlink.sh b/third_party/git/t/t9131-git-svn-empty-symlink.sh deleted file mode 100755 index 3bf4255aa3ed..000000000000 --- a/third_party/git/t/t9131-git-svn-empty-symlink.sh +++ /dev/null @@ -1,110 +0,0 @@ -#!/bin/sh - -test_description='test that git handles an svn repository with empty symlinks' - -. ./lib-git-svn.sh -test_expect_success 'load svn dumpfile' ' - svnadmin load "$rawsvnrepo" < doink - -K 10 -svn:author -V 12 -normalperson -K 8 -svn:date -V 27 -2008-11-27T03:55:31.601672Z -PROPS-END - -Node-path: bar -Node-kind: file -Node-action: change -Text-content-length: 10 -Text-content-md5: 92ca4fe7a9721f877f765c252dcd66c9 -Content-length: 10 - -link doink - -EOF -' - -test_expect_success 'clone using git svn' 'git svn clone -r1 "$svnrepo" x' -test_expect_success 'enable broken symlink workaround' \ - '(cd x && git config svn.brokenSymlinkWorkaround true)' -test_expect_success '"bar" is an empty file' 'test_must_be_empty x/bar' -test_expect_success 'get "bar" => symlink fix from svn' \ - '(cd x && git svn rebase)' -test_expect_success SYMLINKS '"bar" becomes a symlink' 'test -h x/bar' - - -test_expect_success 'clone using git svn' 'git svn clone -r1 "$svnrepo" y' -test_expect_success 'disable broken symlink workaround' \ - '(cd y && git config svn.brokenSymlinkWorkaround false)' -test_expect_success '"bar" is an empty file' 'test_must_be_empty y/bar' -test_expect_success 'get "bar" => symlink fix from svn' \ - '(cd y && git svn rebase)' -test_expect_success '"bar" does not become a symlink' '! test -L y/bar' - -# svn.brokenSymlinkWorkaround is unset -test_expect_success 'clone using git svn' 'git svn clone -r1 "$svnrepo" z' -test_expect_success '"bar" is an empty file' 'test_must_be_empty z/bar' -test_expect_success 'get "bar" => symlink fix from svn' \ - '(cd z && git svn rebase)' -test_expect_success '"bar" does not become a symlink' '! test -L z/bar' - - -test_done -- cgit 1.4.1