Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ls-tree.c')
-rw-r--r--ls-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-tree.c b/ls-tree.c
index 450bff2472..8d524b89a2 100644
--- 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;