1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-07 01:32:58 +01:00
git/contrib/emacs
Alexandre Julliard 40d6dc0f9d 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>
2007-01-26 15:38:27 -08:00
..
.gitignore contrib/emacs/Makefile: Provide tool for byte-compiling files. 2006-03-05 11:32:49 -08:00
git.el git.el: Define the propertize function if needed, for XEmacs compatibility. 2007-01-09 16:15:07 -08:00
Makefile Allow INSTALL, bindir, mandir to be set in main Makefile 2006-06-29 23:49:16 -07:00
vc-git.el vc-git.el: Take into account the destination name in vc-checkout. 2007-01-26 15:38:27 -08:00