Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [tig PATCH] blame broken in recent master

From: Jeff King <hidden>
Date: 2016-06-15 22:51:00

On Sat, Apr 09, 2011 at 02:37:38PM -0400, Jonas Fonseca wrote:
On Wed, Mar 30, 2011 at 10:24, Jeff King [off-list ref] wrote:
quoted
As of 730ae86 (Rename prepare_io to prepare_update and make it more
specialized, 2011-03-16), "tig blame" finds no actual blamed commits.

The problem seems to be that prepare_update switched from calling
format_argv to argv_copy, and we end up calling "git blame %(blameargs)"
without "%(blameargs)" expanded. Blame looks like the only caller which
actually uses a placeholder, so it is the only one broken.

The patch below fixes it for me, but it seems like a hack. I'm not
really sure why the switch in prepare_update was made; clearly it is
part of some refactoring, but I'm not sure what your larger plans were.
I have fixed the issue in the current master.
Thanks, works perfectly here.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help