diff options
author | Vincent Ambo <mail@tazj.in> | 2021-09-21T10·03+0300 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2021-09-21T11·29+0300 |
commit | 43b1791ec601732ac31195df96781a848360a9ac (patch) | |
tree | daae8d638343295d2f1f7da955e556ef4c958864 /third_party/git/t/t9132-git-svn-broken-symlink.sh | |
parent | 2d8e7dc9d9c38127ec4ebd13aee8e8f586a43318 (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/t9132-git-svn-broken-symlink.sh')
-rwxr-xr-x | third_party/git/t/t9132-git-svn-broken-symlink.sh | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/third_party/git/t/t9132-git-svn-broken-symlink.sh b/third_party/git/t/t9132-git-svn-broken-symlink.sh deleted file mode 100755 index aeceffaf7b08..000000000000 --- a/third_party/git/t/t9132-git-svn-broken-symlink.sh +++ /dev/null @@ -1,102 +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" <<EOF -SVN-fs-dump-format-version: 2 - -UUID: 60780f9a-7df5-43b4-83ab-60e2c0673ef7 - -Revision-number: 0 -Prop-content-length: 56 -Content-length: 56 - -K 8 -svn:date -V 27 -2008-11-26T07:17:27.590577Z -PROPS-END - -Revision-number: 1 -Prop-content-length: 111 -Content-length: 111 - -K 7 -svn:log -V 4 -test -K 10 -svn:author -V 12 -normalperson -K 8 -svn:date -V 27 -2008-11-26T07:18:03.511836Z -PROPS-END - -Node-path: bar -Node-kind: file -Node-action: add -Prop-content-length: 33 -Text-content-length: 4 -Text-content-md5: 912ec803b2ce49e4a541068d495ab570 -Content-length: 37 - -K 11 -svn:special -V 1 -* -PROPS-END -asdf - -Revision-number: 2 -Prop-content-length: 121 -Content-length: 121 - -K 7 -svn:log -V 13 -bar => 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 SYMLINKS '"bar" is a symlink that points to "asdf"' ' - test -L x/bar && - (cd x && test xasdf = x"$(git cat-file blob HEAD:bar)") -' - -test_expect_success 'get "bar" => symlink fix from svn' ' - (cd x && git svn rebase) -' - -test_expect_success SYMLINKS '"bar" remains a proper symlink' ' - test -L x/bar && - (cd x && test xdoink = x"$(git cat-file blob HEAD:bar)") -' - -test_done |