Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Documentation: describe short-hand used in fetch/pull.
[gitweb.git]
/
ls-tree.c
diff --git
a/ls-tree.c
b/ls-tree.c
index 450bff2472084098af018460567c51ef90b847ad..8d524b89a2a3cecf8d820ddc335e7159db5ccdb1 100644
(file)
--- a/
ls-tree.c
+++ b/
ls-tree.c
@@
-79,7
+79,7
@@
static struct tree_entry_list *find_entry(const char *path)
slash = strchr(path, '/');
if (!slash) {
len = strlen(path);
- next =
0
;
+ next =
NULL
;
}
else {
next = slash + 1;