aboutsummaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorNazri Ramliy <ayiehere@gmail.com>2010-06-19 09:37:33 +0800
committerJunio C Hamano <gitster@pobox.com>2010-06-20 21:44:01 -0700
commiteb3005e274d6d342cd4766598d9210995b5dca0c (patch)
tree54c230b53efcb4c15ea9470359ed8e86780b49a7 /commit.h
parent049e98c875682de2f5638b83e91bfbef5cfbf521 (diff)
downloadgit-eb3005e274d6d342cd4766598d9210995b5dca0c.tar.gz
git-eb3005e274d6d342cd4766598d9210995b5dca0c.tar.xz
commit.h: add 'type' to struct name_decoration
This allows for semantically better handling of decoration type. Signed-off-by: Nazri Ramliy <ayiehere@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index 6ef88dcf4..ba818fccb 100644
--- a/commit.h
+++ b/commit.h
@@ -28,6 +28,7 @@ extern const char *commit_type;
extern struct decoration name_decoration;
struct name_decoration {
struct name_decoration *next;
+ int type;
char name[1];
};