summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 22:26:05 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 22:26:05 (GMT)
commit9ce43d1c90dc199bf8ced85fa5fdadc152753022 (patch)
tree8f26a6eaea74c60b22896b4976533082998a5d84 /object.h
parent521a4f4cf4bb2d59a51a5355bfb6b148c4aa31ed (diff)
downloadgit-9ce43d1c90dc199bf8ced85fa5fdadc152753022.zip
git-9ce43d1c90dc199bf8ced85fa5fdadc152753022.tar.gz
git-9ce43d1c90dc199bf8ced85fa5fdadc152753022.tar.bz2
Ooh. Make git-rev-list --object associate a name with objects.
The name isn't unique, it's just the first name that object is reached through, so it's really nothing more than a hint.
Diffstat (limited to 'object.h')
-rw-r--r--object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/object.h b/object.h
index 1bd59ac..9ad4ae8 100644
--- a/object.h
+++ b/object.h
@@ -4,6 +4,7 @@
struct object_list {
struct object *item;
struct object_list *next;
+ const char *name;
};
struct object {