git-annex/debian
Joey Hess 5287d1dc3f fixed behavior when multiple insteadOf configs are provided for the same url base
Consider this git config --list case:

url.git+ssh://git@example.com/.insteadOf=gl
url.git+ssh://git@example.com/.insteadOf=shared

Since config is stored in a Map, only the last of the values for this key
was stored and available for use by the insteadOf code. But that
is wrong; git allows either "gl" or "shared" to be used in an url and
the insteadOf value to be substituted in.

To support this, it seems best to keep the existing config map as-is,
and add a second map that accumulates a list of multiple values for
config keys. This new fullconfig map can be used in the rare places where
multiple values for a key make sense, without needing to complicate
everything else.

Haskell's laziness and data sharing keep the overhead of adding
this second map low.
2011-12-30 14:07:46 -04:00
..
changelog fixed behavior when multiple insteadOf configs are provided for the same url base 2011-12-30 14:07:46 -04:00
compat debianization 2010-10-16 16:41:24 -04:00
control prep release 2011-10-11 23:03:19 -04:00
copyright file moved 2011-08-21 13:19:33 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
manpages update 2010-10-19 16:17:29 -04:00
NEWS typo 2011-10-12 00:29:49 -04:00
rules update 2010-10-27 15:08:46 -04:00