git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Marco Costalba" <mcostalba@gmail.com>
To: "Linus Torvalds" <torvalds@linux-foundation.org>
Cc: "Junio C Hamano" <junkio@cox.net>,
	"Git Mailing List" <git@vger.kernel.org>
Subject: Re: Finally implement "git log --follow"
Date: Thu, 21 Jun 2007 08:21:30 +0200	[thread overview]
Message-ID: <e5bfff550706202321t354ec0e3xb218f382f1c983ae@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.0.98.0706200940000.3593@woody.linux-foundation.org>

On 6/20/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:

>
> That said, you really would be better off using
>
>         git blame -M --incremental
>

That's how it is currently inplemented in qgit:

- Main view revision list + graph: git-rev-list
- File history and annotation: git-rev-list

The possible options are:

ALL GIT LOG
-------------------

- Main view revision list + graph: git-log
- File history and annotation: git-log

Good: easy implementation and a lot of common code to share among
modules, all the current features (see "range fltering" below) are
preserved

Bad: Currently git-log does not support --stdin option, required IMHO
when git-log is runned by a tool, not a user, due to the possibility
of a very long command line.

MIXED
---------

- Main view revision list + graph: git-rev-list
- File history and annotation: git-blame

Good: Gain additional features of git-blame against git-log

Bad: FWIK "git blame -M --incremental" does not support annotating all
the files in history in one go, as it is possible both with
git-rev-list and git-log. You have to re-annotate the new file when
browsing file history with the mouse.

Impementation cannot reuse big chunks of code, so a lot of new code is
needed and probably old one will not disappear.

FWIK "git blame -M --incremental" does not support "code lines range
filtering", when with the mouse you select some lines of code and
after filtering you see the subset of file's history that modified
that range of code. This feature is currently supported by qgit
annotating code.

Also jump to the same currently selected code line when switching to a
different version in file history it is currently supported by
annotate code.


INTERESTING
--------------------

- Main view revision list + graph: git-log
- File history and annotation: git-blame

A curious mix.



Some advice?


Thanks
Marco

  reply	other threads:[~2007-06-21  6:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19 21:22 Finally implement "git log --follow" Linus Torvalds
2007-06-19 21:35 ` Linus Torvalds
2007-07-04 13:21   ` Marco Costalba
2007-06-20  6:27 ` Marco Costalba
2007-06-20 16:47   ` Linus Torvalds
2007-06-21  6:21     ` Marco Costalba [this message]
2007-06-21 15:44       ` Linus Torvalds
2007-06-21 15:55         ` Johannes Schindelin
2007-06-21 16:09           ` Linus Torvalds
2007-06-21  1:15 ` Linus Torvalds
2007-06-21  1:37   ` Junio C Hamano

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=e5bfff550706202321t354ec0e3xb218f382f1c983ae@mail.gmail.com \
    --to=mcostalba@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=torvalds@linux-foundation.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).