From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: [PATCH] Lose perl dependency. (fwd)
Date: Thu, 18 Jan 2007 15:00:16 +0000 [thread overview]
Message-ID: <200701181500.17970.andyparkins@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0701181441010.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Thursday 2007 January 18 13:57, Johannes Schindelin wrote:
I think this would be clearer if next were renamed...
> +struct commit_list *reverse_commit_list(struct commit_list *list)
> +{
> + struct commit_list *prev = NULL, *current, *backup;
> + for (current = list; current; current = backup) {
> + backup = current->next;
> + current->next = prev;
> + prev = current;
> + }
> + return next;
> +}
Andy
--
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
next prev parent reply other threads:[~2007-01-18 15:00 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-18 10:49 [PATCH] Lose perl dependency. (fwd) Johannes Schindelin
2007-01-18 11:52 ` Simon 'corecode' Schubert
2007-01-18 13:57 ` Johannes Schindelin
2007-01-18 14:03 ` Simon 'corecode' Schubert
2007-01-18 15:00 ` Andy Parkins [this message]
2007-01-18 15:08 ` Johannes Schindelin
2007-01-19 19:56 ` Junio C Hamano
2007-01-19 23:54 ` Johannes Schindelin
2007-01-20 0:35 ` Junio C Hamano
2007-01-20 1:18 ` Johannes Schindelin
2007-01-20 1:21 ` Junio C Hamano
2007-01-20 1:31 ` Johannes Schindelin
2007-01-20 3:30 ` Junio C Hamano
2007-01-20 4:02 ` Simon 'corecode' Schubert
2007-01-20 9:28 ` Johannes Schindelin
2007-01-20 18:31 ` Junio C Hamano
2007-01-20 22:04 ` Johannes Schindelin
2007-01-21 0:37 ` Robin Rosenberg
2007-01-21 1:39 ` Johannes Schindelin
2007-01-21 2:32 ` Bill Lear
2007-01-21 3:17 ` Junio C Hamano
2007-01-21 22:16 ` David Kågedal
2007-01-21 22:35 ` Johannes Schindelin
2007-01-23 13:18 ` Krzysztof Halasa
2007-01-23 13:50 ` David Kågedal
2007-01-23 14:34 ` Krzysztof Halasa
2007-01-23 17:07 ` Randal L. Schwartz
2007-01-23 23:27 ` Krzysztof Halasa
2007-01-23 23:48 ` Krzysztof Halasa
2007-01-21 2:56 ` Simon 'corecode' Schubert
2007-01-21 11:19 ` [PATCH] Teach revision machinery about --reverse Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701181500.17970.andyparkins@gmail.com \
--to=andyparkins@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).