-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
20 changed files
with
1,408 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,7 @@ | |
/git-mktree | ||
/git-name-rev | ||
/git-mv | ||
/git-notes | ||
/git-pack-redundant | ||
/git-pack-objects | ||
/git-pack-refs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
git-notes(1) | ||
============ | ||
|
||
NAME | ||
---- | ||
git-notes - Add/inspect commit notes | ||
|
||
SYNOPSIS | ||
-------- | ||
[verse] | ||
'git-notes' (edit [-F <file> | -m <msg>] | show) [commit] | ||
|
||
DESCRIPTION | ||
----------- | ||
This command allows you to add notes to commit messages, without | ||
changing the commit. To discern these notes from the message stored | ||
in the commit object, the notes are indented like the message, after | ||
an unindented line saying "Notes:". | ||
|
||
To disable commit notes, you have to set the config variable | ||
core.notesRef to the empty string. Alternatively, you can set it | ||
to a different ref, something like "refs/notes/bugzilla". This setting | ||
can be overridden by the environment variable "GIT_NOTES_REF". | ||
|
||
|
||
SUBCOMMANDS | ||
----------- | ||
|
||
edit:: | ||
Edit the notes for a given commit (defaults to HEAD). | ||
|
||
show:: | ||
Show the notes for a given commit (defaults to HEAD). | ||
|
||
|
||
OPTIONS | ||
------- | ||
-m <msg>:: | ||
Use the given note message (instead of prompting). | ||
If multiple `-m` (or `-F`) options are given, their | ||
values are concatenated as separate paragraphs. | ||
|
||
-F <file>:: | ||
Take the note message from the given file. Use '-' to | ||
read the note message from the standard input. | ||
If multiple `-F` (or `-m`) options are given, their | ||
values are concatenated as separate paragraphs. | ||
|
||
|
||
Author | ||
------ | ||
Written by Johannes Schindelin <johannes.schindelin@gmx.de> | ||
|
||
Documentation | ||
------------- | ||
Documentation by Johannes Schindelin | ||
|
||
GIT | ||
--- | ||
Part of the linkgit:git[7] suite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.