Re: [[TIG][PATCH v2] 2/3] Display correct diff the context in split log view

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 06, 2013 at 12:58:20AM -0400, Kumar Appaiah wrote:
>  tig-1.1
>  -------
> diff --git a/tig.c b/tig.c
> index 845153f..256b589 100644
> --- a/tig.c
> +++ b/tig.c
> @@ -4475,8 +4475,15 @@ log_request(struct view *view, enum request request, struct line *line)
>  		state->recalculate_commit_context = TRUE;
>  		return request;
>  
> +	case REQ_ENTER:
> +		state->recalculate_commit_context = TRUE;
> +		if (VIEW(REQ_VIEW_DIFF)->ref != ref_commit)
> +			open_view(view, REQ_VIEW_DIFF, OPEN_SPLIT);
> +		update_view_title(view);
  		^^^^^^^^^^^^^^^^^^^^^^^

I missed removing update_view_title. I've done it locally, though.

Thanks.

Kumar

> +		return request;
> +
>  	default:
> -		return pager_request(view, request, line);
> +		return request;
>  	}
>  }
>  
> -- 
> 1.8.3.2

-- 
Kumar Appaiah
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]