From: David Reitter Date: Tue, 24 Nov 2009 15:31:01 +0000 (+0000) Subject: vc-git-registered: use checkout directory (where .git is) X-Git-Tag: emacs-pretest-23.1.90~249 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=35179414e41c6064b484854fbc01a9db6ce2a866;p=emacs.git 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 03fdcf9a1bc..a145f4e7eb6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2009-11-24 David Reitter + + * vc-git.el (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. + 2009-11-24 Michael Albinus 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." (when (vc-git-root file) (with-temp-buffer (let* (process-file-side-effects - (dir (file-name-directory file)) + ;; do not use the `file-name-directory' here: git-ls-files + ;; sometimes fails to return the correct status for relative + ;; path specs. + ;; see also: http://marc.info/?l=git&m=125787684318129&w=2 + (dir (vc-git-root file)) (name (file-relative-name file dir)) (str (ignore-errors (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 @@ -/* Localized versions of Info.plist keys */ +<<<<<<< InfoPlist.strings +======= CFBundleName = "Emacs"; CFBundleShortVersionString = "Version 23.1.50"; CFBundleGetInfoString = "Emacs version 23.1.50, NS Windowing"; NSHumanReadableCopyright = "Copyright (C) 2009 Free Software Foundation, Inc."; +>>>>>>> 1.7