ramccor / vcscommand

Automatically exported from code.google.com/p/vcscommand
0 stars 0 forks source link

VCSBlame should jump to the cursor position of the current buffer. #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would imagine the typical use-case for VCSBlame is the one I largely use
it for: determining who is responsible for the code I'm currently looking
at.  To this end, it would be nice if it scrolled to the current line of
the file I'm editing so that the LHS view matched the RHS view.

Original issue reported on code.google.com by walke...@gmail.com on 18 Jan 2010 at 7:21

GoogleCodeExporter commented 9 years ago

Original comment by bob.hies...@gmail.com on 19 Jan 2010 at 3:56

GoogleCodeExporter commented 9 years ago
I have a patch to do this, available at:

http://repo.or.cz/w/vcscommand.git/snapshot/d08e395d9d1dbfa88c7a49ddc164fa8fa45f
a14f.
zip

I haven't released it yet because I'm not certain what the behavior should be 
in any 
other than the most trivial case (that is, annotating the current revision).  I 
am 
open to suggestions.

The version that I linked only jumps if you annotate the current version.

Original comment by bob.hies...@gmail.com on 19 Jan 2010 at 4:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Do you have any comment on that patch?

Original comment by bob.hies...@gmail.com on 26 Jan 2010 at 7:47

GoogleCodeExporter commented 9 years ago
I think that is satisfactory.  You would really only want it to sync in that
instance.  Otherwise, it's safe to assume that they've chosen another revision 
for
another reason.  I wouldn't call it the most trivial case, though.  Just look 
at the
name: "blame", as in "who should I blame this on?".  I'd say that's one of its 
larger
use cases.

Original comment by walke...@gmail.com on 26 Jan 2010 at 7:53

GoogleCodeExporter commented 9 years ago
This is released as v1.99.36.

Original comment by bob.hies...@gmail.com on 29 Jan 2010 at 4:45