Git development
 help / color / mirror / Atom feed
* [PATCH 0/3] http-push fixes
@ 2008-02-14 23:25 Johannes Schindelin
  2008-02-14 23:25 ` [PATCH 1/3] http-push: avoid invalid memory accesses Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Johannes Schindelin @ 2008-02-14 23:25 UTC (permalink / raw)
  To: git, gitster, mh

Hi,

I have to admit that impatience got the better part of me.  So I did not 
wait for those promised http cleanups, but dived into the current code and 
debugged a (failing) http-push for several hours.

Let me tell this: http-push's source code is not nice.  The code is hard 
to follow, and it is repetitive.  I would really welcome a major cleanup, 
but unfortunately, I do not have half the time I would need for this.

So here go three patches, the first two of them fixing real issues (a 
segfault, and an "out of memory", which is not really one), and the last 
showing just what kind of cruft needs removing in http-push.c.

I'm particularly bad with cover-letters (waiting for format-patch 
--cover-letter to be applied, hint, hint), so this is my version of one:

 http-push.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

Ciao,
Dscho

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

end of thread, other threads:[~2008-02-16 12:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14 23:25 [PATCH 0/3] http-push fixes Johannes Schindelin
2008-02-14 23:25 ` [PATCH 1/3] http-push: avoid invalid memory accesses Johannes Schindelin
2008-02-16  7:23   ` Junio C Hamano
2008-02-16  8:13     ` Mike Hommey
2008-02-16 12:12     ` Johannes Schindelin
2008-02-14 23:25 ` [PATCH 2/3] http-push: do not get confused by submodules Johannes Schindelin
2008-02-14 23:32   ` [PATCH 2/3, v2] " Johannes Schindelin
2008-02-14 23:26 ` [PATCH 3/3] http-push: avoid a needless goto Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox