aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Hanchrow2010-01-24 20:46:40 -0800
committerDan Nicolaescu2010-01-24 20:46:40 -0800
commit504dcc71eb779d08d3e4caa0c932f3041148b198 (patch)
treeb4701516e5c0ff1f076fadd7b7c2c369cc7c36db
parent8dc1adf681df162bfd305debef0e1ab31bed3ebd (diff)
downloademacs-504dcc71eb779d08d3e4caa0c932f3041148b198.tar.gz
emacs-504dcc71eb779d08d3e4caa0c932f3041148b198.zip
(vc-git-dir-status-goto-stage): Pass --relative to the
diff-index command. This requires at least git-1.5.5. (Bug#1589).
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc-git.el2
3 files changed, 8 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 5eb39faf6ba..7d864d15fd5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -328,6 +328,8 @@ their content displayed.
328 328
329**** vc-dir displays the stash status 329**** vc-dir displays the stash status
330 330
331**** vc-dir requires at least git-1.5.5.
332
331*** vc-bzr supports operating with shelves: the shelve list is 333*** vc-bzr supports operating with shelves: the shelve list is
332displayed in the *vc-dir* header, shelves can be created, removed and applied. 334displayed in the *vc-dir* header, shelves can be created, removed and applied.
333 335
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fa3761738bf..085c082cadb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
2
3 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
4 diff-index command. This requires at least git-1.5.5. (Bug#1589).
5
12010-01-24 Dan Nicolaescu <dann@ics.uci.edu> 62010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 Remove support for adding --signoff on commit. 8 Remove support for adding --signoff on commit.
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 4896f79a395..0d8e6307d6e 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -381,7 +381,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
381 (vc-git-command (current-buffer) 'async files "ls-files" "-z" "-o" "-i" 381 (vc-git-command (current-buffer) 'async files "ls-files" "-z" "-o" "-i"
382 "--directory" "--no-empty-directory" "--exclude-standard" "--")) 382 "--directory" "--no-empty-directory" "--exclude-standard" "--"))
383 ('diff-index 383 ('diff-index
384 (vc-git-command (current-buffer) 'async files "diff-index" "-z" "-M" "HEAD" "--"))) 384 (vc-git-command (current-buffer) 'async files "diff-index" "--relative" "-z" "-M" "HEAD" "--")))
385 (vc-exec-after 385 (vc-exec-after
386 `(vc-git-after-dir-status-stage (quote ,stage) (quote ,files) (quote ,update-function)))) 386 `(vc-git-after-dir-status-stage (quote ,stage) (quote ,files) (quote ,update-function))))
387 387