diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-03-05 18:26:27 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-05 12:33:46 -0800 |
commit | 79192b87ad6a57e2b2a6219f0a17e85ece759c0f (patch) | |
tree | 85c4a8e981a0ac76dcab73846cdd6361bb0a41d2 | |
parent | cache_tree_find(): find the end of path component using strchrnul() (diff) | |
download | tgif-79192b87ad6a57e2b2a6219f0a17e85ece759c0f.tar.xz |
cache_tree_find(): fix comment formatting
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | cache-tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cache-tree.c b/cache-tree.c index d00f4ef7c2..408ee57a50 100644 --- a/cache-tree.c +++ b/cache-tree.c @@ -555,8 +555,9 @@ static struct cache_tree *cache_tree_find(struct cache_tree *it, const char *pat struct cache_tree_sub *sub; slash = strchrnul(path, '/'); - /* between path and slash is the name of the - * subtree to look for. + /* + * Between path and slash is the name of the subtree + * to look for. */ sub = find_subtree(it, path, slash - path, 0); if (!sub) |