Skip to content

Allow specifying multiple insteadOf aliases - #3550

Merged
bk2204 merged 1 commit into
git-lfs:masterfrom
bk2204:multiple-insteadof
Mar 7, 2019
Merged

bk2204 merged 1 commit into
git-lfs:masterfrom
bk2204:multiple-insteadof

Conversation

@bk2204

@bk2204 bk2204 commented Mar 4, 2019

Copy link
Copy Markdown
Member

It's possible for a user to specify multiple insteadOf aliases and have all of the specified URLs map to the same rewritten URL. Make sure we do handle this correctly by iterating over the all values we read from the config, not just the last one.

Fixes #2298.
/cc @larsxschneider as reporter

@bk2204
bk2204 requested a review from a team March 4, 2019 21:33
@Abakajerom

Copy link
Copy Markdown

Ok it is taken

It's possible for a user to specify multiple insteadOf aliases and have
all of the specified URLs map to the same rewritten URL. Make sure we do
handle this correctly by iterating over the all values we read from the
config, not just the last one.
@bk2204
bk2204 force-pushed the multiple-insteadof branch from b66f4c7 to fbd4cff Compare March 7, 2019 19:08
@bk2204
bk2204 merged commit 5b92bc4 into git-lfs:master Mar 7, 2019
@bk2204
bk2204 deleted the multiple-insteadof branch March 7, 2019 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants