diff options
author | Russell Belfer <rb@github.com> | 2013-09-23 13:31:15 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-09-23 13:31:15 -0700 |
commit | 106c12f11873d270eb2c8b25bd82eaade0092e31 (patch) | |
tree | 95994e19dcd30d74660f3d406679fa3f3d22eaa6 /src/commit.c | |
parent | 10edb7a92a6d9b886f3dea083dba0aaba1851200 (diff) | |
download | libgit2-106c12f11873d270eb2c8b25bd82eaade0092e31.tar.gz |
Remove regex usage from places that don't need it
In revwalk, we are doing a very simple check to see if a string
contains wildcard characters, so a full regular expression match
is not needed.
In remote listing, now that we have git_config_foreach_match with
full regular expression matching, we can take advantage of that
and eliminate the regex here, replacing it with much simpler string
manipulation.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions