author | Alexandre Julliard <julliard@winehq.org> | |
Fri, 26 Jan 2007 10:57:50 +0000 (11:57 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 26 Jan 2007 23:38:27 +0000 (15:38 -0800) | ||
commit | 40d6dc0f9d4045d237f8334224777922789c6d04 | |
tree | 159905837b582fcba60b7acb9a5592ae568adf85 | tree | snapshot |
parent | 7f9acb2a16473e5ba6d44231d2fc844ca8bb9817 | commit | diff |
vc-git.el: Take into account the destination name in vc-checkout.
This is necessary for vc-version-other-window. Based on a patch by Sam
Vilain <sam.vilain@catalyst.net.nz>.
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: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This is necessary for vc-version-other-window. Based on a patch by Sam
Vilain <sam.vilain@catalyst.net.nz>.
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: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/vc-git.el | diff | blob | history |