() Ben Pfaff <[EMAIL PROTECTED]>
() Thu, 27 Dec 2007 14:46:26 -0800

   As a workaround, you can run git-status before git-diff.  This is
   semi-documented in the documentation for git-status:

          If any paths have been touched in the working tree (that
          is, their modification times have changed) but their
          contents and permissions are identical to those in the
          index file, the command updates the index file.  Running
          git-status can thus speed up subsequent operations such as
          git-diff if the working tree contains many paths that have
          been touched but not modified.

thanks for the tip.  the test case is extracted from the *Messages*
buffer of emacs, so i suppose getting the workaround into emacs is
a possibility.  but that's going in the wrong direction i fear.

thi


Reply via email to