diff options
| author | Juanma Barranquero | 2009-12-28 03:43:28 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2009-12-28 03:43:28 +0100 |
| commit | 58941d03a598cdc5b73514ff042f05e56bca642c (patch) | |
| tree | 61f8329ff0a89286d31fe8234d5011ea90bf5034 | |
| parent | e0425934a0e5f0abb0fccfa5f4c3f39a330c4ca3 (diff) | |
| download | emacs-58941d03a598cdc5b73514ff042f05e56bca642c.tar.gz emacs-58941d03a598cdc5b73514ff042f05e56bca642c.zip | |
Supersede color.diff settings in git log (bug#5211).
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/vc-git.el | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d54f5f08dd..458368f72b4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2009-12-28 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | Supersede color.diff settings in git log (bug#5211). | ||
| 4 | |||
| 5 | * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid | ||
| 6 | escape chars in its output when the user has color.diff set to `always'. | ||
| 7 | This fix works on git 1.4.2 and newer (released on 2006-08-13). | ||
| 8 | |||
| 1 | 2009-12-26 Kevin Ryde <user42@zip.com.au> | 9 | 2009-12-26 Kevin Ryde <user42@zip.com.au> |
| 2 | 10 | ||
| 3 | * info-look.el (sh-mode): Look for coreutils new "Concept Index" | 11 | * info-look.el (sh-mode): Look for coreutils new "Concept Index" |
diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 69e861434ba..1970cb1460a 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el | |||
| @@ -555,7 +555,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." | |||
| 555 | (apply 'vc-git-command buffer | 555 | (apply 'vc-git-command buffer |
| 556 | 'async files | 556 | 'async files |
| 557 | (append | 557 | (append |
| 558 | '("log") | 558 | '("log" "--no-color") |
| 559 | (when shortlog | 559 | (when shortlog |
| 560 | '("--graph" "--decorate" | 560 | '("--graph" "--decorate" |
| 561 | "--date=short" "--pretty=format:%d%h %ad %s" "--abbrev-commit")) | 561 | "--date=short" "--pretty=format:%d%h %ad %s" "--abbrev-commit")) |