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/t0200 | |
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/t0200')
-rw-r--r-- | third_party/git/t/t0200/test.c | 23 | ||||
-rw-r--r-- | third_party/git/t/t0200/test.perl | 14 | ||||
-rw-r--r-- | third_party/git/t/t0200/test.sh | 14 |
3 files changed, 0 insertions, 51 deletions
diff --git a/third_party/git/t/t0200/test.c b/third_party/git/t/t0200/test.c deleted file mode 100644 index 584d45cf3602..000000000000 --- a/third_party/git/t/t0200/test.c +++ /dev/null @@ -1,23 +0,0 @@ -/* This is a phony C program that's only here to test xgettext message extraction */ - -const char help[] = - /* TRANSLATORS: This is a test. You don't need to translate it. */ - N_("See 'git help COMMAND' for more information on a specific command."); - -int main(void) -{ - /* TRANSLATORS: This is a test. You don't need to translate it. */ - puts(_("TEST: A C test string")); - - /* TRANSLATORS: This is a test. You don't need to translate it. */ - printf(_("TEST: A C test string %s"), "variable"); - - /* TRANSLATORS: This is a test. You don't need to translate it. */ - printf(_("TEST: Hello World!")); - - /* TRANSLATORS: This is a test. You don't need to translate it. */ - printf(_("TEST: Old English Runes")); - - /* TRANSLATORS: This is a test. You don't need to translate it. */ - printf(_("TEST: ‘single’ and “double” quotes")); -} diff --git a/third_party/git/t/t0200/test.perl b/third_party/git/t/t0200/test.perl deleted file mode 100644 index 36fba341ba01..000000000000 --- a/third_party/git/t/t0200/test.perl +++ /dev/null @@ -1,14 +0,0 @@ -# This is a phony Perl program that's only here to test xgettext -# message extraction - -# so the above comment won't be folded into the next one by xgettext -1; - -# TRANSLATORS: This is a test. You don't need to translate it. -print __("TEST: A Perl test string"); - -# TRANSLATORS: This is a test. You don't need to translate it. -printf __("TEST: A Perl test variable %s"), "moo"; - -# TRANSLATORS: If you see this, Git has a bug -print _"TEST: A Perl string xgettext will not get"; diff --git a/third_party/git/t/t0200/test.sh b/third_party/git/t/t0200/test.sh deleted file mode 100644 index 022d607f4cf9..000000000000 --- a/third_party/git/t/t0200/test.sh +++ /dev/null @@ -1,14 +0,0 @@ -# This is a phony Shell program that's only here to test xgettext -# message extraction - -# so the above comment won't be folded into the next one by xgettext -echo - -# TRANSLATORS: This is a test. You don't need to translate it. -gettext "TEST: A Shell test string" - -# TRANSLATORS: This is a test. You don't need to translate it. -eval_gettext "TEST: A Shell test \$variable" - -# TRANSLATORS: If you see this, Git has a bug -_("TEST: A Shell string xgettext won't get") |