git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
To: Junio C Hamano <junkio@cox.net>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: [PATCH] Lose perl dependency. (fwd)
Date: Sat, 20 Jan 2007 05:02:34 +0100	[thread overview]
Message-ID: <45B1945A.1000400@fs.ei.tum.de> (raw)
In-Reply-To: <7vfya69xym.fsf@assigned-by-dhcp.cox.net>

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

Junio C Hamano wrote:
> I think there are two very valid ways.  You determine what you
> would spit out as if there is no --reverse, and then reverse the
> result, or you do not limit with them to get everthing, reverse
> the result and do the counting limit on that reversed list.

We were originally coming from replacing a perl -e 'print reverse <>' in git-rebase.  So I'd say the former.  

> If you do the latter, you would be able to get the first four
> commits in the chronological order.  I do not think that is
> usually of much practical value (although people new to git
> always seem to ask "how do I get to the root commit" at least
> once), but there may be some valid uses for that kind of
> behaviour.

But I doubt that "--reverse" would suggest that.

   Commit Ordering
       By default, the commits are shown in reverse chronological order.

so --reverse would mean no-reverse, i.e. forward.  well, acceptable :)  So if --reverse is an option to influence the output after the commit ordering, it is clearly the former.

I don't think the latter makes much sense, anyways.

cheers
  simon

-- 
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

  reply	other threads:[~2007-01-20  4:02 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
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 [this message]
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=45B1945A.1000400@fs.ei.tum.de \
    --to=corecode@fs.ei.tum.de \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /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).