git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/3] remove static vars from "builtin-rev-list.c"
@ 2009-04-07  4:50 Christian Couder
  0 siblings, 0 replies; only message in thread
From: Christian Couder @ 2009-04-07  4:50 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Johannes Schindelin

This patch series removes all static variables from
"builtin-rev-list.c" except the usage string.

This cleans up the code and should please Dscho.

It also makes it possible to remove restrictions on using the
"sho_bisect_vars" function.


  list-objects: add "void *data" parameter to show functions
  rev-list: remove last static vars used in "show_commit"
  rev-list: add "int bisect_show_flags" in "struct rev_list_info"

 bisect.c               |    8 +++-
 bisect.h               |   18 ++++----
 builtin-pack-objects.c |    6 +-
 builtin-rev-list.c     |  109 ++++++++++++++++++++++++------------------------
 list-objects.c         |    9 ++--
 list-objects.h         |    6 +-
 upload-pack.c          |    6 +-
 7 files changed, 84 insertions(+), 78 deletions(-)

PS: Sorry but it looks like the script I used to send this series has some bugs.
First the date in the email are wrong, and then I have to resend this cover letter
because it did not appear on the mailing list.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-07  4:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-07  4:50 [PATCH 0/3] remove static vars from "builtin-rev-list.c" Christian Couder

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).