summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-11-15 00:44:02 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-11-28 19:21:52 +0100
commit2580077fc2cbb124409bbc6453f2923217ac7957 (patch)
tree2cd3484b49e7ef1ff8bf1e780a1a8d493bf6df8c /include/git2/commit.h
parented970748b600313306657de6e5447e5447790766 (diff)
downloadlibgit2-2580077fc2cbb124409bbc6453f2923217ac7957.tar.gz
tree: calculate the filename length once
We already know the size due to the `memchr()` so use that information instead of calling `strlen()` on it.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions