[Top][All Lists]

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

Re: Merge-base alias for git vc-diff

From: Juri Linkov
Subject: Re: Merge-base alias for git vc-diff
Date: Fri, 11 Jan 2019 01:18:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>>   (error "Failed (status 128): git --no-pager cat-file blob 
>> master...:lisp/vc/vc-git.el .")
> I think this can/should be solved by making vc-git-find-revision throw
> away the "..."

Sorry, I don't understand.  "git cat-file blob master:lisp/vc/vc-git.el"
will get the revision from the master's HEAD, but what is needed is
a revision of the merge base between master and branch, i.e. what
is returned by "git-merge-base master branch".

reply via email to

[Prev in Thread] Current Thread [Next in Thread]