git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Andrew Olsen via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Andrew Olsen <andrew232@gmail.com>
Subject: [PATCH 0/4] Compile-time extensions for list-object-filter
Date: Sun, 05 Sep 2021 23:51:35 +0000	[thread overview]
Message-ID: <pull.1031.git.1630885899.gitgitgadget@gmail.com> (raw)

Adds an extension: option to list-object-filters, these are implemented by
static libraries that must be compiled into Git. The Makefile argument
FILTER_EXTENSIONS makes it easier to compile these extensions into a custom
build of Git. When no custom filter-extensions are supplied, Git works as
normal.

Andrew Olsen (4):
  Compile-time extensions for list-object-filter
  Makefile for list-object-filter extensions
  Sample list-object-filter extensions
  Documentation for list-object-filter extensions

 .gitignore                                    |   1 +
 Documentation/config/uploadpack.txt           |   7 +-
 Documentation/rev-list-options.txt            |   4 +
 Makefile                                      |  35 +++-
 compat/vcbuild/README                         |   5 +-
 config.mak.uname                              |   6 +-
 contrib/buildsystems/CMakeLists.txt           |   7 +
 contrib/filter-extensions/README.txt          | 153 ++++++++++++++++++
 contrib/filter-extensions/rand/.gitignore     |   2 +
 contrib/filter-extensions/rand/Makefile       |  28 ++++
 contrib/filter-extensions/rand/rand.c         | 103 ++++++++++++
 contrib/filter-extensions/rand_cpp/.gitignore |   2 +
 contrib/filter-extensions/rand_cpp/Makefile   |  34 ++++
 .../rand_cpp/adapter_functions.c              |   6 +
 .../rand_cpp/adapter_functions.h              |  10 ++
 contrib/filter-extensions/rand_cpp/rand.cpp   | 103 ++++++++++++
 generate-list-objects-filter-extensions.sh    |  53 ++++++
 list-objects-filter-extensions.h              | 107 ++++++++++++
 list-objects-filter-options.c                 |  47 ++++++
 list-objects-filter-options.h                 |   6 +
 list-objects-filter.c                         |  84 ++++++++++
 21 files changed, 793 insertions(+), 10 deletions(-)
 create mode 100644 contrib/filter-extensions/README.txt
 create mode 100644 contrib/filter-extensions/rand/.gitignore
 create mode 100644 contrib/filter-extensions/rand/Makefile
 create mode 100644 contrib/filter-extensions/rand/rand.c
 create mode 100644 contrib/filter-extensions/rand_cpp/.gitignore
 create mode 100644 contrib/filter-extensions/rand_cpp/Makefile
 create mode 100644 contrib/filter-extensions/rand_cpp/adapter_functions.c
 create mode 100644 contrib/filter-extensions/rand_cpp/adapter_functions.h
 create mode 100644 contrib/filter-extensions/rand_cpp/rand.cpp
 create mode 100755 generate-list-objects-filter-extensions.sh
 create mode 100644 list-objects-filter-extensions.h


base-commit: e0a2f5cbc585657e757385ad918f167f519cfb96
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1031%2Fkoordinates%2Flist-objects-filter-extensions-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1031/koordinates/list-objects-filter-extensions-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1031
-- 
gitgitgadget

             reply	other threads:[~2021-09-05 23:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 23:51 Andrew Olsen via GitGitGadget [this message]
2021-09-05 23:51 ` [PATCH 1/4] Compile-time extensions for list-object-filter Andrew Olsen via GitGitGadget
2021-09-05 23:51 ` [PATCH 2/4] Makefile for list-object-filter extensions Andrew Olsen via GitGitGadget
2021-09-06  6:15   ` Bagas Sanjaya
2021-09-05 23:51 ` [PATCH 3/4] Sample " Andrew Olsen via GitGitGadget
2021-09-05 23:51 ` [PATCH 4/4] Documentation for " Andrew Olsen via GitGitGadget
2021-09-06  0:49 ` [PATCH 0/4] Compile-time extensions for list-object-filter Ævar Arnfjörð Bjarmason
2021-09-06  6:18 ` Bagas Sanjaya
2021-09-07  0:37   ` Andrew Olsen
2021-09-07  8:59     ` Ævar Arnfjörð Bjarmason
2021-09-08 14:23     ` Robert Coup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pull.1031.git.1630885899.gitgitgadget@gmail.com \
    --to=gitgitgadget@gmail.com \
    --cc=andrew232@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).