git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/4] notes.mergestrategy config option
@ 2015-08-14 20:48 Jacob Keller
  2015-08-14 20:48 ` [PATCH v6 1/4] notes: document cat_sort_uniq rewriteMode Jacob Keller
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jacob Keller @ 2015-08-14 20:48 UTC (permalink / raw)
  To: git
  Cc: Johan Herland, Michael Haggerty, Eric Sunshine, Junio C Hamano,
	Jacob Keller

From: Jacob Keller <jacob.keller@gmail.com>

Changes since v6:

* use a static git_config_get_notes_strategy function
* use git_die_config to display useful information about which
  configuration failed.

This should address Eric's concern. It also makes it so that we don't
even read the configuration at all unless we need to.

Jacob Keller (4):
  notes: document cat_sort_uniq rewriteMode
  notes: add tests for --commit/--abort/--strategy exclusivity
  notes: add notes.mergestrategy option to select default strategy
  notes: teach git-notes about notes.<ref>.mergestrategy option

 Documentation/config.txt              | 18 ++++++++--
 Documentation/git-notes.txt           | 23 ++++++++++--
 builtin/notes.c                       | 60 ++++++++++++++++++++++++-------
 notes-merge.h                         | 16 +++++----
 t/t3309-notes-merge-auto-resolve.sh   | 68 +++++++++++++++++++++++++++++++++++
 t/t3310-notes-merge-manual-resolve.sh | 12 +++++++
 6 files changed, 173 insertions(+), 24 deletions(-)

-- 
2.5.0.280.g4aaba03

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

end of thread, other threads:[~2015-08-14 21:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-14 20:48 [PATCH v6 0/4] notes.mergestrategy config option Jacob Keller
2015-08-14 20:48 ` [PATCH v6 1/4] notes: document cat_sort_uniq rewriteMode Jacob Keller
2015-08-14 20:48 ` [PATCH v6 2/4] notes: add tests for --commit/--abort/--strategy exclusivity Jacob Keller
2015-08-14 20:48 ` [PATCH v6 3/4] notes: add notes.mergestrategy option to select default strategy Jacob Keller
2015-08-14 21:06   ` Eric Sunshine
2015-08-14 21:12     ` Jacob Keller
2015-08-14 20:48 ` [PATCH v6 4/4] notes: teach git-notes about notes.<ref>.mergestrategy option Jacob Keller

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).