Thread (46 messages) flat view 46 messages, 5 authors, 2023-11-10

Re: [PATCH 3/5] trailer: add tests to check defaulting behavior with --no-* flags

From: Junio C Hamano <hidden>
Date: 2023-08-07 01:13:51

"Linus Arver via GitGitGadget" [off-list ref] writes:
quoted hunk ↗ jump to hunk
@@ -114,8 +114,10 @@ OPTIONS
 	Specify where all new trailers will be added.  A setting
 	provided with '--where' overrides all configuration variables
Obviously this is not a new issue, but "all configuration variables"
is misleading (the same comment applies to the description of the
"--[no-]if-exists" and the "--[no-]if-missing" options).

If I am reading the code correctly, --where=value overrides the
trailer.where variable and nothing else, and --no-where stops the
overriding of the trailer.where variable.  Ditto for the other two
with their relevant configuration variables.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help