projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-fetch-pack: really do not ask for funny refs
[git.git]
/
tree.c
diff --git
a/tree.c
b/tree.c
index
043f032
..
dc1c41e
100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-1,8
+1,8
@@
+#include "cache.h"
#include "tree.h"
#include "blob.h"
#include "commit.h"
#include "tag.h"
#include "tree.h"
#include "blob.h"
#include "commit.h"
#include "tag.h"
-#include "cache.h"
#include <stdlib.h>
const char *tree_type = "tree";
#include <stdlib.h>
const char *tree_type = "tree";
@@
-200,7
+200,6
@@
int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size)
}
if (obj)
n_refs++;
}
if (obj)
n_refs++;
- entry->parent = NULL; /* needs to be filled by the user */
*list_p = entry;
list_p = &entry->next;
}
*list_p = entry;
list_p = &entry->next;
}