diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-07-04 17:17:23 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-07-04 18:00:20 +0200 |
commit | f5287fa6c39762072e30140329c41e9f304d7c04 (patch) | |
tree | d207cbde4ff25dacc34c76cfffd704a029b51785 /tests/diff/diffiter.c | |
parent | 9ed104a8fa9fc28bb29a0ff53c68094696e13aea (diff) | |
download | libgit2-f5287fa6c39762072e30140329c41e9f304d7c04.tar.gz |
refspec: support asterisks in the middle of a pattern
We used to assume a refspec would only have an asterisk in the middle of
their respective pattern. This has not been a valid assumption for some
time now with git.
Instead of assuming where the asterisk is going to be, change the logic
to treat each pattern as having two halves with a replacement bit in the
middle, where the asterisk is.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions