List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 0/3] Download patch between arbitrary revisions
@ 2013-08-14  8:50 cgit
  2013-08-14  8:50 ` [PATCH 1/3] Extract filepair_cb from ui-patch.c cgit
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: cgit @ 2013-08-14  8:50 UTC (permalink / raw)


This is the first small patch series that allows for generating raw
patches between arbitrary revisions.

Note that the first patch only does some refactoring that is required in
preparation for the second one. I wanted to do the same refactoring for
the corresponding functions in ui-diff.c but this turned out to be much
harder due to the use of global variables. It would be nice to do the
same refactoring with filepair_cb() from ui-diff.c and eventually merge
both filepair_cb(), header() and print_line() functions since they share
quite some code. This is out of the scope of this patch series, though.

Lukas Fleischer (3):
  Extract filepair_cb from ui-patch.c
  Allow for creating raw diffs with cgit_print_diff()
  cmd.c: Add a "rawdiff" command

 cmd.c       |  8 ++++++-
 ui-commit.c |  2 +-
 ui-diff.c   | 10 ++++++++-
 ui-diff.h   |  2 +-
 ui-patch.c  | 74 +------------------------------------------------------------
 ui-shared.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ui-shared.h |  1 +
 7 files changed, 92 insertions(+), 77 deletions(-)

-- 
1.8.4.rc2.477.g1da3ebd



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

end of thread, other threads:[~2013-08-14 22:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14  8:50 [PATCH 0/3] Download patch between arbitrary revisions cgit
2013-08-14  8:50 ` [PATCH 1/3] Extract filepair_cb from ui-patch.c cgit
2013-08-14  8:50 ` [PATCH 2/3] Allow for creating raw diffs with cgit_print_diff() cgit
2013-08-14  8:50 ` [PATCH 3/3] cmd.c: Add a "rawdiff" command cgit
2013-08-14 21:47 ` [PATCH 0/3] Download patch between arbitrary revisions john
2013-08-14 22:13 ` Jason

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