From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Pat Thoyts <patthoyts@users.sourceforge.net>
Cc: "Shawn O. Pearce" <spearce@spearce.org>,
git@vger.kernel.org, Bert Wesarg <bert.wesarg@googlemail.com>
Subject: [PATCH 4/8] git-gui: there is no "mode *" diff header line
Date: Thu, 9 Dec 2010 21:47:55 +0100 [thread overview]
Message-ID: <cc7284fbd48c589af26dd8f3905fb4244fedbfda.1291927657.git.bert.wesarg@googlemail.com> (raw)
In-Reply-To: <ae1d2af4dad878c54959a72989cb170376b7fb95.1291927657.git.bert.wesarg@googlemail.com>
In-Reply-To: <babc4fe91e54e3923baa6f08cc92ee8ea494e704.1291927657.git.bert.wesarg@googlemail.com>
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
---
lib/diff.tcl | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lib/diff.tcl b/lib/diff.tcl
index aa30089..20f50dd 100644
--- a/lib/diff.tcl
+++ b/lib/diff.tcl
@@ -417,8 +417,7 @@ proc read_diff {fd conflict_size cont_info} {
#
if {[string match {@@@ *} $line]} {set is_3way_diff 1}
- if {[string match {mode *} $line]
- || [string match {new file *} $line]
+ if {[string match {new file *} $line]
|| [regexp {^(old|new) mode *} $line]
|| [string match {deleted file *} $line]
|| [string match {deleted symlink} $line]
--
1.7.3.2.1200.ge4bf6
next prev parent reply other threads:[~2010-12-09 20:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 20:47 [PATCH 1/8] git-gui: rework handling of diff header Bert Wesarg
2010-12-09 20:47 ` [PATCH 2/8] git-gui: handle index lines only in the " Bert Wesarg
2010-12-09 20:47 ` [PATCH 3/8] git-gui: name also new symlinks so Bert Wesarg
2010-12-09 20:47 ` Bert Wesarg [this message]
2010-12-09 20:47 ` [PATCH 5/8] git-gui: move 3way diff autodetect up Bert Wesarg
2010-12-09 20:47 ` [PATCH 6/8] git-gui: always reset the current tag Bert Wesarg
2010-12-09 20:47 ` [PATCH 7/8] git-gui: handle special content lines only in the diff header section Bert Wesarg
2010-12-09 20:47 ` [PATCH 8/8] git-gui: handle meta diff header lines only in the " Bert Wesarg
2011-01-28 9:43 ` [PATCH 1/8] git-gui: rework handling of diff header Pat Thoyts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc7284fbd48c589af26dd8f3905fb4244fedbfda.1291927657.git.bert.wesarg@googlemail.com \
--to=bert.wesarg@googlemail.com \
--cc=git@vger.kernel.org \
--cc=patthoyts@users.sourceforge.net \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).