diff options
author | Andrew Nelson <andrew2nelson@arista.com> | 2021-03-10 23:13:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 08:13:26 +0100 |
commit | 55ba7b2e0f7a1c542c88022d65b16ca79a300e6c (patch) | |
tree | e735eae5a44cafff79b91ef1b95527c87b631824 /repository_test.go | |
parent | 4519f59b5fc258653027b89705bb2ac832d25a17 (diff) | |
download | go-git-55ba7b2e0f7a1c542c88022d65b16ca79a300e6c.tar.gz |
diff: Allow srcPrefix and dstPrefix to be configured (#265)
* diff: Allow srcPrefix and dstPrefix to be configured
The default behavior here remains the same, but this change does
allow consumers of the UnifiedEncoder to set their own path prefixes
which will override the defaults of a/ and b/.
* Add unit test for src/dstPrefix in encoder
Diffstat (limited to 'repository_test.go')
0 files changed, 0 insertions, 0 deletions