git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCHv3 0/8] RESEND: git notes

From
Johan Herland <johan@herland.net>
Date
Jul 29, 2009, 02:25 UTC
Message-ID
<1248834326-31488-1-git-send-email-johan@herland.net>
Hi,
Here is a long overdue resend and improvement of the jh/notes topic in 'pu'.

The 5 first patches are pretty much unchanged (except for better attribution of the various people who have helped improve this patch series).

The 6th patch introduces a first draft of notes tree parsing with support for fanout subtrees. This first draft is just a straightforward implementation of what I have picked up from the (many) discussions on this topic. As such, this first draft focuses on correctness, rather than performance. BTW, did I mention this was a first draft?

The 7th patch is stolen from the jh/vcs-cvs topic in 'pu', and teaches git-fast-import to import note objects.

The final 8th patch is a relatively straightforward optimization of t3302.
Have fun! :)
...Johan
Johan Herland (4):
  Teach "-m <msg>" and "-F <file>" to "git notes edit"
  First draft of notes tree parser with support for fanout subtrees
  fast-import: Add support for importing commit notes
  t3302-notes-index-expensive: Speed up create_repo()
Johannes Schindelin (4):
  Introduce commit notes
  Add a script to edit/inspect notes
  Speed up git notes lookup
  Add an expensive test for git-notes
 .gitignore                        |    1 +
 Documentation/config.txt          |   13 ++
 Documentation/git-fast-import.txt |   45 +++++-
 Documentation/git-notes.txt       |   60 ++++++++
 Makefile                          |    3 +
 cache.h                           |    4 +
 command-list.txt                  |    1 +
 commit.c                          |    1 +
 config.c                          |    5 +
 environment.c                     |    1 +
 fast-import.c                     |   88 +++++++++++-
 git-notes.sh                      |  121 +++++++++++++++
 notes.c                           |  295 +++++++++++++++++++++++++++++++++++++
 notes.h                           |    7 +
 pretty.c                          |    5 +
 t/t3301-notes.sh                  |  149 +++++++++++++++++++
 t/t3302-notes-index-expensive.sh  |  118 +++++++++++++++
 t/t3303-notes-subtrees.sh         |  206 ++++++++++++++++++++++++++
 t/t9300-fast-import.sh            |  166 +++++++++++++++++++++
 19 files changed, 1279 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/git-notes.txt
 create mode 100755 git-notes.sh
 create mode 100644 notes.c
 create mode 100644 notes.h
 create mode 100755 t/t3301-notes.sh
 create mode 100755 t/t3302-notes-index-expensive.sh
 create mode 100755 t/t3303-notes-subtrees.sh
Next: Johan Herland
Message 1 of 30 in “[PATCHv3 0/8] RESEND: git notes”
  1. Johan HerlandJul 29, 2009
  2. 1/8 Introduce commit notesJohan Herland, Jul 29, 2009
  3. Alex RiesenJul 29, 2009
  4. Johannes SchindelinJul 29, 2009
  5. Johan HerlandJul 30, 2009
  6. Johannes SchindelinJul 30, 2009
  7. Johan HerlandJul 30, 2009
  8. 2/8 Add a script to edit/inspect notesJohan Herland, Jul 29, 2009
  9. 3/8 Speed up git notes lookupJohan Herland, Jul 29, 2009
  10. 4/8 Add an expensive test for git-notesJohan Herland, Jul 29, 2009
  11. 5/8 Teach "-m <msg>" and "-F <file>" to "git notes edit"Johan Herland, Jul 29, 2009
  12. Thomas RastJul 29, 2009
  13. Johan HerlandJul 30, 2009
  14. 6/8 First draft of notes tree parser with support for fanout subtreesJohan Herland, Jul 29, 2009
  15. Johannes SchindelinJul 29, 2009
  16. Testing performance of the notes lookup code (Was: [PATCHv3 6/8] First draft of notes tree parser with support for fanout subtrees)Johan Herland, Jul 30, 2009
  17. [RFC] First draft of 256-tree structure for storing notesJohan Herland, Aug 1, 2009
  18. [RFC] Store subtree entries in the same hash map as the note entriesJohan Herland, Aug 13, 2009
  19. [RFC] Use a 16-tree instead of a 256-tree for storing notesJohan Herland, Aug 26, 2009
  20. Alex RiesenAug 26, 2009
  21. Johan HerlandAug 26, 2009
  22. Alex RiesenAug 26, 2009
  23. Andreas EricssonAug 26, 2009
  24. Johan HerlandAug 26, 2009
  25. Johannes SchindelinAug 27, 2009
  26. 7/8 fast-import: Add support for importing commit notesJohan Herland, Jul 29, 2009
  27. Shawn O. PearceJul 29, 2009
  28. Johan HerlandJul 30, 2009
  29. 8/8 t3302-notes-index-expensive: Speed up create_repo()Johan Herland, Jul 29, 2009
  30. Johannes SchindelinJul 29, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.