summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-07-04 17:17:23 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-07-04 18:00:20 +0200
commitf5287fa6c39762072e30140329c41e9f304d7c04 (patch)
treed207cbde4ff25dacc34c76cfffd704a029b51785 /tests/diff/diffiter.c
parent9ed104a8fa9fc28bb29a0ff53c68094696e13aea (diff)
downloadlibgit2-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