summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-07-01 21:15:06 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-07-01 21:15:06 +0200
commite0af3cb30c10f65f6db802f64a3389f73c0292b7 (patch)
tree63f0ef7c5afdd367a0a3a895a9821d399bbc6b8d /src/commit.c
parente8e848a8dad92b6542b16449d29f4a5535fa7c5a (diff)
downloadlibgit2-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/commit.c')
0 files changed, 0 insertions, 0 deletions