author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sat, 20 Dec 2008 12:05:14 +0000 (13:05 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 21 Dec 2008 10:47:21 +0000 (02:47 -0800) | ||
commit | 879ef2485d6ced20845ca626ecb45a9b65aa3a70 | |
tree | 0b4d6c6219281bed3bf664f273f97e0da29b9086 | tree | snapshot |
parent | 5832d1a9da78273652c213d8e1535c09dd7dc079 | commit | diff |
Introduce commit notes
Commit notes are blobs which are shown together with the commit
message. These blobs are taken from the notes ref, which you can
configure by the config variable core.notesRef, which in turn can
be overridden by the environment variable GIT_NOTES_REF.
The notes ref is a branch which contains "files" whose names are
the names of the corresponding commits (i.e. the SHA-1).
The rationale for putting this information into a ref is this: we
want to be able to fetch and possibly union-merge the notes,
maybe even look at the date when a note was introduced, and we
want to store them efficiently together with the other objects.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commit notes are blobs which are shown together with the commit
message. These blobs are taken from the notes ref, which you can
configure by the config variable core.notesRef, which in turn can
be overridden by the environment variable GIT_NOTES_REF.
The notes ref is a branch which contains "files" whose names are
the names of the corresponding commits (i.e. the SHA-1).
The rationale for putting this information into a ref is this: we
want to be able to fetch and possibly union-merge the notes,
maybe even look at the date when a note was introduced, and we
want to store them efficiently together with the other objects.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | diff | blob | history | |
Makefile | diff | blob | history | |
cache.h | diff | blob | history | |
commit.c | diff | blob | history | |
config.c | diff | blob | history | |
environment.c | diff | blob | history | |
notes.c | [new file with mode: 0644] | blob |
notes.h | [new file with mode: 0644] | blob |
pretty.c | diff | blob | history |