all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: vc-region-history promotion (was: removing white space highlight)
Date: Thu, 25 Feb 2016 15:10:44 -0500	[thread overview]
Message-ID: <jwvegc0eew5.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87povkv9xl.fsf@robertthorpeconsulting.com

> The question is what about the *VC annotated* file?  If I blame a
> particular section of a file how do I know who wrote that code and when?
> The problem is I can't tell because any particular check-in could be a
> whitespace change.  I'd actually have to start digging through older
> versions.

I agree such "unrelated changes" are generally undesired.
[ In the case of Emacs's own source code, we try to follow a policy where
people are allowed to "fix whitespace" but only in those places where
they're making other changes as well.  So a whose-file cleanup of
trailing whitespace is not accepted.  ]

This said, I recently stopped using vc-annotate and so don't care nearly
as much any more: instead I use vc-region-history, which gives me much
more detailed information where such whitespace games aren't very much
of a problem.  I'd been dreaming of a functionality like
vc-region-history ever since I started using TLA (i.e. before Bazaar
existed), and oddly enough so far only Git offers that feature, AFAIK.

vc-region-history also solves the problem of vc-annotate's blindness to
code removal (the vc-annotate output won't tell you where code was
removed, and even less by whom).


        Stefan




  reply	other threads:[~2016-02-25 20:10 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-18 10:06 removing white space highlight Luca Ferrari
2016-02-18 10:19 ` Gian Uberto Lauri
2016-02-18 10:54   ` Luca Ferrari
2016-02-18 10:30     ` tomas
2016-02-18 13:34       ` Luca Ferrari
2016-02-18 13:17         ` tomas
2016-02-18 14:37           ` Luca Ferrari
2016-02-18 14:15             ` tomas
2016-02-18 16:08               ` Luca Ferrari
2016-02-19  0:23                 ` Emanuel Berg
2016-02-19  1:05                   ` Drew Adams
2016-02-19 16:02                   ` Marcin Borkowski
2016-02-19 20:43                     ` Emanuel Berg
2016-02-19 20:50                       ` Marcin Borkowski
2016-02-20  0:30                         ` Emanuel Berg
2016-02-20 19:08 ` Bob Proulx
2016-02-21  0:32   ` Emanuel Berg
2016-02-21  1:34     ` Bob Proulx
2016-02-21  1:48       ` Emanuel Berg
2016-02-21  3:27         ` Robert Thorpe
2016-02-21  3:31           ` Emanuel Berg
2016-02-21  5:00             ` Marcin Borkowski
2016-02-21  6:10               ` Emanuel Berg
2016-02-21 11:48             ` tomas
2016-02-21 17:13               ` Emanuel Berg
2016-02-23  0:33                 ` Robert Thorpe
2016-02-23  0:41                   ` Emanuel Berg
2016-02-24  0:44                     ` Robert Thorpe
2016-02-24  1:41                       ` Emanuel Berg
2016-02-24 20:38                         ` Robert Thorpe
2016-02-25  0:10                           ` Emanuel Berg
2016-02-25  8:47                             ` Luca Ferrari
2016-02-25  9:29                               ` Christian Kruse
2016-02-25 19:58                             ` Robert Thorpe
2016-02-25 20:10                               ` Stefan Monnier [this message]
2016-02-25 22:15                               ` Emanuel Berg
2016-02-25 22:41                                 ` Robert Thorpe
2016-02-26  0:02                                   ` Emanuel Berg
2016-02-26  2:58                                     ` Robert Thorpe
2016-02-26  3:29                                       ` Emanuel Berg
2016-02-26  6:08                                         ` Bob Proulx
2016-02-26 19:48                                           ` Emanuel Berg
2016-02-27 20:54                                         ` Robert Thorpe
2016-02-28  2:43                                           ` Emanuel Berg
2016-02-28 18:09                                             ` Robert Thorpe
2016-02-29  0:52                                               ` Emanuel Berg
2016-02-29  2:43                                                 ` Robert Thorpe
2016-02-22 14:05   ` Luca Ferrari
2016-02-23  0:13     ` Emanuel Berg
2016-02-23  0:34     ` Robert Thorpe

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=jwvegc0eew5.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.