1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

(vc-git-dir-status-goto-stage): Pass --relative to the

diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
This commit is contained in:
Eric Hanchrow 2010-01-24 20:46:40 -08:00 committed by Dan Nicolaescu
parent 8dc1adf681
commit 504dcc71eb
3 changed files with 8 additions and 1 deletions

View File

@ -328,6 +328,8 @@ their content displayed.
**** vc-dir displays the stash status
**** vc-dir requires at least git-1.5.5.
*** vc-bzr supports operating with shelves: the shelve list is
displayed in the *vc-dir* header, shelves can be created, removed and applied.

View File

@ -1,3 +1,8 @@
2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
* vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
diff-index command. This requires at least git-1.5.5. (Bug#1589).
2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
Remove support for adding --signoff on commit.

View File

@ -381,7 +381,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
(vc-git-command (current-buffer) 'async files "ls-files" "-z" "-o" "-i"
"--directory" "--no-empty-directory" "--exclude-standard" "--"))
('diff-index
(vc-git-command (current-buffer) 'async files "diff-index" "-z" "-M" "HEAD" "--")))
(vc-git-command (current-buffer) 'async files "diff-index" "--relative" "-z" "-M" "HEAD" "--")))
(vc-exec-after
`(vc-git-after-dir-status-stage (quote ,stage) (quote ,files) (quote ,update-function))))