diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-03-05 18:26:29 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-03-05 12:34:05 -0800 |
| commit | 8b7e5f79723b0f2e1d3dca4e959ad2a2041e9453 (patch) | |
| tree | 62dc64caac6a39dd3a6ce1aff031541716bd0de2 /contrib/persistent-https | |
| parent | cache_tree_find(): remove redundant check (diff) | |
| download | git-8b7e5f79723b0f2e1d3dca4e959ad2a2041e9453.tar.gz git-8b7e5f79723b0f2e1d3dca4e959ad2a2041e9453.zip | |
cache_tree_find(): remove early return
There is no need for an early
return it;
from the loop if slash points at the end of the string, because that
is exactly what will happen when the while condition fails at the
start of the next iteration.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
