git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] notes: add notes.merge strategy option
@ 2015-07-31 23:12 Jacob Keller
  2015-07-31 23:12 ` [PATCH v2 1/2] notes: document cat_sort_uniq rewriteMode Jacob Keller
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jacob Keller @ 2015-07-31 23:12 UTC (permalink / raw)
  To: git; +Cc: Jacob Keller

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-08-02  8:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 23:12 [PATCH v2 0/2] notes: add notes.merge strategy option Jacob Keller
2015-07-31 23:12 ` [PATCH v2 1/2] notes: document cat_sort_uniq rewriteMode Jacob Keller
2015-07-31 23:12 ` [PATCH v2 2/2] notes: add notes.merge option to select default strategy Jacob Keller
2015-08-02  2:46   ` Eric Sunshine
2015-08-02  4:12     ` Jacob Keller
2015-08-02  7:41     ` Jacob Keller
2015-08-02  8:01       ` Eric Sunshine
2015-08-02  8:20         ` Jacob Keller
2015-08-01 13:30 ` [PATCH v2 0/2] notes: add notes.merge strategy option Johan Herland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).