From: "Aneesh Kumar K.V" <aneesh.kumar@gmail.com>
To: git@vger.kernel.org
Cc: "Aneesh Kumar K.V" <aneesh.kumar@gmail.com>
Subject: [PATCH 2/2] gitview: run blame with -M and -C
Date: Tue, 12 Jun 2007 23:05:21 +0530 [thread overview]
Message-ID: <1181669728642-git-send-email-aneesh.kumar@gmail.com> (raw)
Message-ID: <62df20bd1b31a7dc088f4ac7c00a732d498cadbb.1181669428.git.aneesh.kumar@gmail.com> (raw)
In-Reply-To: <11816697213806-git-send-email-aneesh.kumar@gmail.com>
In-Reply-To: <392459374618773353ea560d021dd3211d143d86.1181669428.git.aneesh.kumar@gmail.com>
From: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
pass -M and -C option to git-blame so that blame browsing
works when the data is copied over from other files.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
---
contrib/gitview/gitview | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview
index 286e974..01128f4 100755
--- a/contrib/gitview/gitview
+++ b/contrib/gitview/gitview
@@ -530,7 +530,7 @@ class AnnotateWindow(object):
self.add_file_data(filename, commit_sha1, line_num)
- fp = os.popen("git blame --incremental -- " + filename + " " + commit_sha1)
+ fp = os.popen("git blame --incremental -M -C -C -- " + filename + " " + commit_sha1)
flags = fcntl.fcntl(fp.fileno(), fcntl.F_GETFL)
fcntl.fcntl(fp.fileno(), fcntl.F_SETFL, flags | os.O_NONBLOCK)
self.io_watch_tag = gobject.io_add_watch(fp, gobject.IO_IN, self.data_ready)
--
1.5.2.1.239.g75d8-dirty
next prev parent reply other threads:[~2007-06-12 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 17:35 [PATCH 1/2] gitview: Fix the blame interface Aneesh Kumar K.V
2007-06-12 17:35 ` Aneesh Kumar K.V
2007-06-13 4:58 ` Junio C Hamano
2007-06-13 8:33 ` Aneesh Kumar
2007-06-12 17:35 ` Aneesh Kumar K.V [this message]
2007-06-12 17:35 ` [PATCH 2/2] gitview: run blame with -M and -C Aneesh Kumar K.V
2007-06-13 4:59 ` Junio C Hamano
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=1181669728642-git-send-email-aneesh.kumar@gmail.com \
--to=aneesh.kumar@gmail.com \
--cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.