[PATCH v2 0/3] interpret-trailers: add --where, --if-exists, --if-missing
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- Jul 12, 2017, 22:21 UTC
- Message-ID
- <20170712222116.7095-1-bonzini@gnu.org>
From: Paolo Bonzini <pbonzini@redhat.com>
These options are useful to experiment with "git interpret-trailers" without having to tinker with .gitconfig. It can also be useful in the oddball case where you want a different placement for the trailer.
Compared to "git -c", they are more easily discoverable, and also have slightly different behavior because they override all trailer.* configuration keys.
Paolo
v1->v2: support --no-* options, minor code fixes
Paolo Bonzini (3): trailers: create struct trailer_opts trailers: export action enums and corresponding lookup functions interpret-trailers: add options for actions
Documentation/git-interpret-trailers.txt | 16 +++++ builtin/interpret-trailers.c | 44 ++++++++++--- t/t7513-interpret-trailers.sh | 66 ++++++++++++++++++++ trailer.c | 102 ++++++++++++++++++++----------- trailer.h | 35 ++++++++++- 5 files changed, 218 insertions(+), 45 deletions(-)
-- 2.13.0