contrib/emacs/vc-git.el: support vc-version-other-window
authorSam Vilain <sam@vilain.net>
Thu, 25 Jan 2007 23:41:23 +0000 (12:41 +1300)
committerJunio C Hamano <junkio@cox.net>
Fri, 26 Jan 2007 03:27:03 +0000 (19:27 -0800)
commitfd73423f01361f112dbb9972ebce8eabae7dd8b1
treed66483ddef4180312f4e6cd02512487600c17a32
parent1b555932cdb7f75239623573cd2ff25fa98ab4e4
contrib/emacs/vc-git.el: support vc-version-other-window

Currently, the vc-git-checkout function uses `git checkout' to fetch a
file from the git repository to the working copy.  However, it is
completely ignoring the input argument that specifies the destination
file.  `git-checkout' does not support specifying this, so we have to
use `git-cat-file', capture the output in a buffer and then save it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/vc-git.el