diff options
| author | David Reitter | 2009-11-24 15:31:01 +0000 |
|---|---|---|
| committer | David Reitter | 2009-11-24 15:31:01 +0000 |
| commit | 35179414e41c6064b484854fbc01a9db6ce2a866 (patch) | |
| tree | 100aa54f57e606c5488206e8cabc1186ce5bdfd9 | |
| parent | 605a20a98823768578d6faed5f04cb00e57da2bb (diff) | |
| download | emacs-35179414e41c6064b484854fbc01a9db6ce2a866.tar.gz emacs-35179414e41c6064b484854fbc01a9db6ce2a866.zip | |
vc-git-registered: use checkout directory (where .git is)
rather than the file's directory and a relative path spec to work around a bug in git.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/vc-git.el | 6 | ||||
| -rw-r--r-- | nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings | 4 |
3 files changed, 14 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 03fdcf9a1bc..a145f4e7eb6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-11-24 David Reitter <david.reitter@gmail.com> | ||
| 2 | |||
| 3 | * vc-git.el (vc-git-registered): use checkout directory (where | ||
| 4 | .git is) rather than the file's directory and a relative path spec | ||
| 5 | to work around a bug in git. | ||
| 6 | |||
| 1 | 2009-11-24 Michael Albinus <michael.albinus@gmx.de> | 7 | 2009-11-24 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | Improve handling of processes on remote hosts. | 9 | Improve handling of processes on remote hosts. |
diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 072f708edd7..4c577953262 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el | |||
| @@ -147,7 +147,11 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." | |||
| 147 | (when (vc-git-root file) | 147 | (when (vc-git-root file) |
| 148 | (with-temp-buffer | 148 | (with-temp-buffer |
| 149 | (let* (process-file-side-effects | 149 | (let* (process-file-side-effects |
| 150 | (dir (file-name-directory file)) | 150 | ;; do not use the `file-name-directory' here: git-ls-files |
| 151 | ;; sometimes fails to return the correct status for relative | ||
| 152 | ;; path specs. | ||
| 153 | ;; see also: http://marc.info/?l=git&m=125787684318129&w=2 | ||
| 154 | (dir (vc-git-root file)) | ||
| 151 | (name (file-relative-name file dir)) | 155 | (name (file-relative-name file dir)) |
| 152 | (str (ignore-errors | 156 | (str (ignore-errors |
| 153 | (when dir (cd dir)) | 157 | (when dir (cd dir)) |
diff --git a/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings b/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings index 5934dedb611..f18751d2379 100644 --- a/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings +++ b/nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | /* Localized versions of Info.plist keys */ | ||
| 2 | 1 | ||
| 2 | <<<<<<< InfoPlist.strings | ||
| 3 | ======= | ||
| 3 | CFBundleName = "Emacs"; | 4 | CFBundleName = "Emacs"; |
| 4 | CFBundleShortVersionString = "Version 23.1.50"; | 5 | CFBundleShortVersionString = "Version 23.1.50"; |
| 5 | CFBundleGetInfoString = "Emacs version 23.1.50, NS Windowing"; | 6 | CFBundleGetInfoString = "Emacs version 23.1.50, NS Windowing"; |
| 6 | NSHumanReadableCopyright = "Copyright (C) 2009 Free Software Foundation, Inc."; | 7 | NSHumanReadableCopyright = "Copyright (C) 2009 Free Software Foundation, Inc."; |
| 8 | >>>>>>> 1.7 | ||