From: Aneesh Kumar K.V Date: Wed, 13 Jun 2007 08:46:16 GMT Subject: [PATCH 2/2] gitview: run blame with -C -C Message-ID: <11817244541467-git-send-email-aneesh.kumar@gmail.com> In-Reply-To: <1181724376650-git-send-email-aneesh.kumar@gmail.com> From: Aneesh Kumar K.V pass -C -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 --- contrib/gitview/gitview | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview index 93ecfc1..5931766 100755 --- a/contrib/gitview/gitview +++ b/contrib/gitview/gitview @@ -533,7 +533,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 -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.255.gca6c0-dirty