about summary refs log tree commit diff
path: root/third_party/git/config.mak.dev
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/config.mak.dev
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/config.mak.dev')
-rw-r--r--third_party/git/config.mak.dev47
1 files changed, 0 insertions, 47 deletions
diff --git a/third_party/git/config.mak.dev b/third_party/git/config.mak.dev
deleted file mode 100644
index 89b218d11a..0000000000
--- a/third_party/git/config.mak.dev
+++ /dev/null
@@ -1,47 +0,0 @@
-ifeq ($(filter no-error,$(DEVOPTS)),)
-DEVELOPER_CFLAGS += -Werror
-endif
-ifneq ($(filter pedantic,$(DEVOPTS)),)
-DEVELOPER_CFLAGS += -pedantic
-# don't warn for each N_ use
-DEVELOPER_CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0
-endif
-DEVELOPER_CFLAGS += -Wall
-DEVELOPER_CFLAGS += -Wdeclaration-after-statement
-DEVELOPER_CFLAGS += -Wformat-security
-DEVELOPER_CFLAGS += -Wold-style-definition
-DEVELOPER_CFLAGS += -Woverflow
-DEVELOPER_CFLAGS += -Wpointer-arith
-DEVELOPER_CFLAGS += -Wstrict-prototypes
-DEVELOPER_CFLAGS += -Wunused
-DEVELOPER_CFLAGS += -Wvla
-
-ifndef COMPILER_FEATURES
-COMPILER_FEATURES := $(shell ./detect-compiler $(CC))
-endif
-
-ifneq ($(filter clang4,$(COMPILER_FEATURES)),)
-DEVELOPER_CFLAGS += -Wtautological-constant-out-of-range-compare
-endif
-
-ifneq ($(or $(filter gcc6,$(COMPILER_FEATURES)),$(filter clang4,$(COMPILER_FEATURES))),)
-DEVELOPER_CFLAGS += -Wextra
-# if a function is public, there should be a prototype and the right
-# header file should be included. If not, it should be static.
-DEVELOPER_CFLAGS += -Wmissing-prototypes
-ifeq ($(filter extra-all,$(DEVOPTS)),)
-# These are disabled because we have these all over the place.
-DEVELOPER_CFLAGS += -Wno-empty-body
-DEVELOPER_CFLAGS += -Wno-missing-field-initializers
-DEVELOPER_CFLAGS += -Wno-sign-compare
-DEVELOPER_CFLAGS += -Wno-unused-parameter
-endif
-endif
-
-# uninitialized warnings on gcc 4.9.2 in xdiff/xdiffi.c and config.c
-# not worth fixing since newer compilers correctly stop complaining
-ifneq ($(filter gcc4,$(COMPILER_FEATURES)),)
-ifeq ($(filter gcc5,$(COMPILER_FEATURES)),)
-DEVELOPER_CFLAGS += -Wno-uninitialized
-endif
-endif