diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-11-20 23:53:55 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-20 23:53:55 -0800 |
commit | 885d492f69a80ae3e91c1310a63caf0aeb567f2a (patch) | |
tree | 3240d00b6c56d2ea55daad2d18103e7b4d3cf89f /config.c | |
parent | 905bf7742cf5f4a6dea2e75ba2dbd89d5dfaa793 (diff) | |
parent | a099469bbcf273e76d81573229971956b4ef0700 (diff) | |
download | git-885d492f69a80ae3e91c1310a63caf0aeb567f2a.tar.gz |
Merge branch 'jh/notes' (early part)
* 'jh/notes' (early part):
Add selftests verifying concatenation of multiple notes for the same commit
Refactor notes code to concatenate multiple notes annotating the same object
Add selftests verifying that we can parse notes trees with various fanouts
Teach the notes lookup code to parse notes trees with various fanout schemes
Teach notes code to free its internal data structures on request
Add '%N'-format for pretty-printing commit notes
Add flags to get_commit_notes() to control the format of the note string
t3302-notes-index-expensive: Speed up create_repo()
fast-import: Add support for importing commit notes
Teach "-m <msg>" and "-F <file>" to "git notes edit"
Add an expensive test for git-notes
Speed up git notes lookup
Add a script to edit/inspect notes
Introduce commit notes
Conflicts:
.gitignore
Documentation/pretty-formats.txt
pretty.c
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -467,6 +467,11 @@ static int git_default_core_config(const char *var, const char *value) return 0; } + if (!strcmp(var, "core.notesref")) { + notes_ref_name = xstrdup(value); + return 0; + } + if (!strcmp(var, "core.pager")) return git_config_string(&pager_program, var, value); |