bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] (but not for gnulib) squash git diff spurious exit code 1


From: Thien-Thi Nguyen
Subject: Re: [patch] (but not for gnulib) squash git diff spurious exit code 1
Date: Fri, 28 Dec 2007 00:15:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

() Ben Pfaff <address@hidden>
() 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

[Prev in Thread] Current Thread [Next in Thread]