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

[PATCH v2 0/2] notes: add notes.merge strategy option

From
Jacob Keller <jacob.e.keller@intel.com>
Date
Jul 31, 2015, 23:12 UTC
Message-ID
<1438384341-2688-1-git-send-email-jacob.e.keller@intel.com>
From: Jacob Keller <jacob.keller@gmail.com>

This series adds a default merge strategy option for git-notes, so that the user does not have to type "-s" every time. It is overridden by the -s option.

I also added some tests to ensure that the "--abort" "--commit" and "-s" options must be independent. In addition, I found a small documentation bug which is corrected in the first patch of the series.

I Cc'd a couple more people in this version of the patch in order to hopefully get some more review. This is based on pu incase there were any other conflicts, but I can easily rebase if necessary.

Jacob Keller (2):
  notes: document cat_sort_uniq rewriteMode
  notes: add notes.merge option to select default strategy
 Documentation/config.txt              | 11 +++++--
 Documentation/git-notes.txt           | 33 +++++++++++++--------
 builtin/notes.c                       | 55 +++++++++++++++++++++++++----------
 notes-merge.h                         | 16 +++++-----
 t/t3309-notes-merge-auto-resolve.sh   | 29 ++++++++++++++++++
 t/t3310-notes-merge-manual-resolve.sh | 12 ++++++++
 6 files changed, 119 insertions(+), 37 deletions(-)
-- 
2.5.0.482.gfcd5645
Next: Jacob Keller
Message 1 of 9 in “notes: add notes.merge strategy option”
  1. 0/2 notes: add notes.merge strategy optionJacob Keller, Jul 31, 2015
  2. 1/2 notes: document cat_sort_uniq rewriteModeJacob Keller, Jul 31, 2015
  3. 2/2 notes: add notes.merge option to select default strategyJacob Keller, Jul 31, 2015
  4. Eric SunshineAug 2, 2015
  5. Jacob KellerAug 2, 2015
  6. Jacob KellerAug 2, 2015
  7. Eric SunshineAug 2, 2015
  8. Jacob KellerAug 2, 2015
  9. Johan HerlandAug 1, 2015

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.