All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Small "git interpret-trailers" fixes
@ 2014-11-09  9:23 Christian Couder
  2014-11-09  9:23 ` [PATCH v2 1/5] trailer: ignore comment lines inside the trailers Christian Couder
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Christian Couder @ 2014-11-09  9:23 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: git, Johan Herland, Josh Triplett, Thomas Rast, Michael Haggerty,
	Dan Carpenter, Greg Kroah-Hartman, Jeff King, Eric Sunshine,
	Ramsay Jones, Jonathan Nieder, Marc Branchaud

Here is a series to fix a few small bugs in "git interpret-trailers".

Patch 1/5 and patch 2/5 are independent from the last 3 patches,
and can be applied to master.

Patches 3/5, 4/5 and 5/5 depend on this series by Junio:

        jc/conflict-hint (2014-10-28) 4 commits
          (merged to 'next' on 2014-10-29 at 693250f)

Changes since the previous version are:

* use "%.*s" instead of a strbuf, in patch 2/5

* add new find_trailer_end() function and a call to strbuf_release(),
  in patch 4/5

Thanks to Junio and Peff.

Christian Couder (5):
  trailer: ignore comment lines inside the trailers
  trailer: display a trailer without its trailing newline
  commit: make ignore_non_trailer() non static
  trailer: reuse ignore_non_trailer() to ignore conflict lines
  trailer: add test with an old style conflict block

 builtin/commit.c              | 46 -------------------------------------------
 commit.c                      | 46 +++++++++++++++++++++++++++++++++++++++++++
 commit.h                      |  3 +++
 t/t7513-interpret-trailers.sh | 34 +++++++++++++++++++++++++++++++-
 trailer.c                     | 46 ++++++++++++++++++++++++++++++++-----------
 5 files changed, 117 insertions(+), 58 deletions(-)

-- 
2.1.2.555.gfbecd99

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

end of thread, other threads:[~2014-11-10 19:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09  9:23 [PATCH v2 0/5] Small "git interpret-trailers" fixes Christian Couder
2014-11-09  9:23 ` [PATCH v2 1/5] trailer: ignore comment lines inside the trailers Christian Couder
2014-11-09  9:23 ` [PATCH v2 2/5] trailer: display a trailer without its trailing newline Christian Couder
2014-11-09  9:23 ` [PATCH v2 3/5] commit: make ignore_non_trailer() non static Christian Couder
2014-11-09  9:23 ` [PATCH v2 4/5] trailer: reuse ignore_non_trailer() to ignore conflict lines Christian Couder
2014-11-10 17:49   ` Junio C Hamano
2014-11-10 19:05     ` Christian Couder
2014-11-10 19:58       ` Junio C Hamano
2014-11-09  9:23 ` [PATCH v2 5/5] trailer: add test with an old style conflict block Christian Couder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.