diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-07-01 21:15:06 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-07-01 21:15:06 +0200 |
commit | e0af3cb30c10f65f6db802f64a3389f73c0292b7 (patch) | |
tree | 63f0ef7c5afdd367a0a3a895a9821d399bbc6b8d /src/annotated_commit.h | |
parent | e8e848a8dad92b6542b16449d29f4a5535fa7c5a (diff) | |
download | libgit2-cmn/submodule-duplicate.tar.gz |
submodule: correctly delimit the keys to use for lookupcmn/submodule-duplicate
The regex we use to look at the gitmodules file does not correctly
delimit the name of submodule which we want to look up and puts '.*'
straight after the name, maching on any submodule which has the seeked
submodule as a prefix of its name.
Add the missing '\.' in the regex so we want a full stop to exist both
before and after the submodule name.
Diffstat (limited to 'src/annotated_commit.h')
0 files changed, 0 insertions, 0 deletions