diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-05 19:40:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-05 19:40:39 -0800 |
commit | 7b75b331f6744fbf953fe8913703378ef86a2189 (patch) | |
tree | 25154056da08462508e529a7ba92073775d295fd /cache.h | |
parent | 5d680a67d7909c89af96eba4a2d77abed606292b (diff) | |
parent | 22a3d060937072b0f197a8084af879c753c68fe7 (diff) | |
download | git-7b75b331f6744fbf953fe8913703378ef86a2189.tar.gz |
Merge branch 'js/notes'
* js/notes:
git-notes: fix printing of multi-line notes
notes: fix core.notesRef documentation
Add an expensive test for git-notes
Speed up git notes lookup
Add a script to edit/inspect notes
Introduce commit notes
Conflicts:
pretty.c
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -371,6 +371,8 @@ static inline enum object_type object_type(unsigned int mode) #define GITATTRIBUTES_FILE ".gitattributes" #define INFOATTRIBUTES_FILE "info/attributes" #define ATTRIBUTE_MACRO_PREFIX "[attr]" +#define GIT_NOTES_REF_ENVIRONMENT "GIT_NOTES_REF" +#define GIT_NOTES_DEFAULT_REF "refs/notes/commits" extern int is_bare_repository_cfg; extern int is_bare_repository(void); @@ -542,6 +544,7 @@ enum rebase_setup_type { extern enum branch_track git_branch_track; extern enum rebase_setup_type autorebase; +extern char *notes_ref_name; #define GIT_REPO_VERSION 0 extern int repository_format_version; |