Christian Couder <chrisc...@tuxfamily.org> writes:

> This is what "if_exists" and "if_missing" are all about.
>
> Either:
>
>       the same key already exists regardless of the value
>
> and, in this case, what happens depends on what has been specified using
> the "if_exists" configuration variable.
>
> Or:
>
>       the same key DOES NOT already exists regardless of the value
>
> and in this case, what happens depends on what has been specified
> using the "if_missing" configuration variable.

Hmm, how should things like signed-off-by be handled?  You may want
to allow many entries with the same key with distinct values, but
duplicated values may want to be handled differently (currently we
only avoid to place a duplicate <key, value> consecutively, but keys
with different semantics (e.g. "fixes-bug: #bugid") may want to say
"unless the same key with the same value exists, append it at the
end".
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to