diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-11-15 00:44:02 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-11-28 19:21:52 +0100 |
| commit | 2580077fc2cbb124409bbc6453f2923217ac7957 (patch) | |
| tree | 2cd3484b49e7ef1ff8bf1e780a1a8d493bf6df8c /include/git2/commit.h | |
| parent | ed970748b600313306657de6e5447e5447790766 (diff) | |
| download | libgit2-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
