about summary refs log tree commit diff
path: root/third_party/git/trace2/tr2_sysenv.h
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/trace2/tr2_sysenv.h
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/trace2/tr2_sysenv.h')
-rw-r--r--third_party/git/trace2/tr2_sysenv.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/third_party/git/trace2/tr2_sysenv.h b/third_party/git/trace2/tr2_sysenv.h
deleted file mode 100644
index 3292ee15bc96..000000000000
--- a/third_party/git/trace2/tr2_sysenv.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef TR2_SYSENV_H
-#define TR2_SYSENV_H
-
-/*
- * The Trace2 settings that can be loaded from /etc/gitconfig
- * and/or user environment variables.
- *
- * Note that this set does not contain any of the transient
- * environment variables used to pass information from parent
- * to child git processes, such "GIT_TRACE2_PARENT_SID".
- */
-enum tr2_sysenv_variable {
-	TR2_SYSENV_CFG_PARAM = 0,
-	TR2_SYSENV_ENV_VARS,
-
-	TR2_SYSENV_DST_DEBUG,
-
-	TR2_SYSENV_NORMAL,
-	TR2_SYSENV_NORMAL_BRIEF,
-
-	TR2_SYSENV_EVENT,
-	TR2_SYSENV_EVENT_BRIEF,
-	TR2_SYSENV_EVENT_NESTING,
-
-	TR2_SYSENV_PERF,
-	TR2_SYSENV_PERF_BRIEF,
-
-	TR2_SYSENV_MAX_FILES,
-
-	TR2_SYSENV_MUST_BE_LAST
-};
-
-void tr2_sysenv_load(void);
-
-const char *tr2_sysenv_get(enum tr2_sysenv_variable);
-const char *tr2_sysenv_display_name(enum tr2_sysenv_variable var);
-void tr2_sysenv_release(void);
-
-#endif /* TR2_SYSENV_H */