Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@gmail.com>2007-06-13 12:46:16 +0400
committerJunio C Hamano <gitster@pobox.com>2007-06-13 13:14:26 +0400
commit1be846f6e48bae57c3d5cc346300eaf9550f6c8d (patch)
treeba5fe9a5dd9b4b28703bbd8598069b8cfed67df5
parent30a844874db6ee25b6f54ea786f0adabd8e074d7 (diff)
gitview: run blame with -C -C
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 <aneesh.kumar@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xcontrib/gitview/gitview2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview
index 93ecfc1bb9..5931766620 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)