git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonas Fonseca <fonseca@diku.dk>
To: Dan Holmsand <holmsand@gmail.com>
Cc: git@vger.kernel.org, Petr Baudis <pasky@ucw.cz>
Subject: Re: [PATCH 0/6] Bunch of new features for cg-log and cg-diff
Date: Thu, 9 Jun 2005 16:22:43 +0200	[thread overview]
Message-ID: <20050609142243.GA26524@diku.dk> (raw)
In-Reply-To: <42A82211.9060305@gmail.com>

Dan Holmsand <holmsand@gmail.com> wrote Thu, Jun 09, 2005:
> This series adds optget-style option parsing, support for almost all
> git-diff-* features, git-apply --stat support, common colorization code, 
> better performance for cg-log and some other stuff.

I tried out your patchset and have a few comments ...

cg-diff:

 - The pager is only used when passing -c. Is that intentional?

 - Nice with the diffstat option.

cg-log:

 - In the non-verbose summary you use the author date. One motivation
   for using the commit date is that the summary output makes it easy to
   track 'activity' and see if/when your patch made it in. Maybe I've
   just become too used to CVS changelogs.

 - Even though the more dense time format in the summary output is a
   nice idea the new date information is unfortunately also makes the
   summary output less useful, IMO. It can even make the by-date
   scanning harder because you have to jump between two significantly
   different date formats. With the new verbose distinction there should
   be no need for making the date so dense.

I don't much like the inverted colors caused by the searching. Although
the quick goto next entry thing is nice the colors can be very
intrusive, and having to search for some nonsense string to remove them
is terrible.

What about a COGITO_COLORS environment variable for configuring what
string setup_colors() will work on. It could maybe take the place of the
COGITO_AUTO_COLOR environment variable although this is two different
things.

With the long help output of cg-log maybe we should consider also
displaying it in a pager.

A minor note about the option parsing. cg-log -sh will give the error

	cg-log: unrecoginized option `-h'

-- 
Jonas Fonseca

  reply	other threads:[~2005-06-09 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-09 11:03 [PATCH 0/6] Bunch of new features for cg-log and cg-diff Dan Holmsand
2005-06-09 14:22 ` Jonas Fonseca [this message]
2005-06-09 15:14   ` Dan Holmsand
2005-06-09 15:14   ` Dan Holmsand

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=20050609142243.GA26524@diku.dk \
    --to=fonseca@diku.dk \
    --cc=git@vger.kernel.org \
    --cc=holmsand@gmail.com \
    --cc=pasky@ucw.cz \
    /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).