author | Sam Vilain <sam@vilain.net> | |
Thu, 25 Jan 2007 23:41:23 +0000 (12:41 +1300) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 26 Jan 2007 03:27:03 +0000 (19:27 -0800) | ||
commit | fd73423f01361f112dbb9972ebce8eabae7dd8b1 | |
tree | d66483ddef4180312f4e6cd02512487600c17a32 | tree | snapshot |
parent | 1b555932cdb7f75239623573cd2ff25fa98ab4e4 | commit | diff |
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>
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 | diff | blob | history |