summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-03-05 17:26:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-03-05 20:33:46 (GMT)
commit79192b87ad6a57e2b2a6219f0a17e85ece759c0f (patch)
tree85c4a8e981a0ac76dcab73846cdd6361bb0a41d2 /cache-tree.c
parent17e22ddc1c34858beece1b090b392d7c73d1c0a3 (diff)
downloadgit-79192b87ad6a57e2b2a6219f0a17e85ece759c0f.zip
git-79192b87ad6a57e2b2a6219f0a17e85ece759c0f.tar.gz
git-79192b87ad6a57e2b2a6219f0a17e85ece759c0f.tar.bz2
cache_tree_find(): fix comment formatting
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
-rw-r--r--cache-tree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cache-tree.c b/cache-tree.c
index d00f4ef..408ee57 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)