git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] pickaxe: plug memory leaks, deduplicate code
@ 2011-10-06 15:59 René Scharfe
  2011-10-06 16:03 ` [PATCH 1/7] pickaxe: plug diff filespec leak with empty needle René Scharfe
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: René Scharfe @ 2011-10-06 15:59 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Junio C Hamano

Hello,

this series aims to clean up the code for pickaxe (-S/-G).  The first
three patches plug minor to medium memory leaks.

	[PATCH 1/7] pickaxe: plug diff filespec leak with empty needle
	[PATCH 2/7] pickaxe: plug regex leak
	[PATCH 3/7] pickaxe: plug regex/kws leak

The next one moves a duplicate if/else cascade into its own helper
function:

	[PATCH 4/7] pickaxe: factor out has_changes

The remainder unifies the code for pickaxe (-S) and log grep (-G).

	[PATCH 5/7] pickaxe: pass diff_options to contains and has_changes
	[PATCH 6/7] pickaxe: give diff_grep the same signature as has_changes
	[PATCH 7/7] pickaxe: factor out pickaxe

As a result the code should be shorter and easier to maintain.

 diffcore-pickaxe.c |  178 ++++++++++++++++++++-------------------------------
 1 files changed, 70 insertions(+), 108 deletions(-)

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

end of thread, other threads:[~2011-10-07 22:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06 15:59 [PATCH 0/7] pickaxe: plug memory leaks, deduplicate code René Scharfe
2011-10-06 16:03 ` [PATCH 1/7] pickaxe: plug diff filespec leak with empty needle René Scharfe
2011-10-06 16:14 ` [PATCH 2/7] pickaxe: plug regex leak René Scharfe
2011-10-06 16:23 ` [PATCH 3/7] pickaxe: plug regex/kws leak René Scharfe
2011-10-06 16:26 ` [PATCH 4/7] pickaxe: factor out has_changes René Scharfe
2011-10-06 16:50 ` [PATCH 5/7] pickaxe: pass diff_options to contains and has_changes René Scharfe
2011-10-06 16:50 ` [PATCH 6/7] pickaxe: give diff_grep the same signature as has_changes René Scharfe
2011-10-06 16:50 ` [PATCH 7/7] pickaxe: factor out pickaxe René Scharfe
2011-10-07 22:47 ` [PATCH 0/7] pickaxe: plug memory leaks, deduplicate code Junio C Hamano

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