Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
list-objects: convert name_path to a strbuf
[gitweb.git]
/
revision.h
diff --git
a/revision.h
b/revision.h
index 23857c0ed1d7a304c848842711a920e678fd506d..2a26310d6cc025f5ae07f12c0f965b9c3d16414b 100644
(file)
--- a/
revision.h
+++ b/
revision.h
@@
-258,9
+258,7
@@
extern void mark_parents_uninteresting(struct commit *commit);
extern void mark_tree_uninteresting(struct tree *tree);
struct name_path {
- struct name_path *up;
- int elem_len;
- const char *elem;
+ struct strbuf *base;
};
char *path_name(const struct name_path *path, const char *name);