Subject: bug#52349: 29.0.50; vc-git and diff-mode: stage hunks

From: Filipp Gunbin <[email-masked]>
Date: Fri, 26 Aug 2022 20:11:36 +0300

On 21/08/2022 21:53 +0300, Juri Linkov wrote:

A minor comment:

> +(defun vc-diff-patch ()
> +  (let ((buffer "*vc-diff*")
> +        (patch-string vc-patch-string))
> +    (vc-setup-buffer buffer)
> +    (set-buffer buffer)

vc-setup-buffer already did set-buffer?