@matheusbsbs / matheus-bagliano / commits / 1be846f6e4
Fork 0

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>

Aneesh Kumar K.V committed Jun 13, 2007 at 14:16 UTC 1be846f6e48bae57c3d5cc346300eaf9550f6c8d
1 file changed +1 -1
contrib/gitview/gitview
+1 -1
@@ -533,7 +533,7 @@ class AnnotateWindow(object):
533
534 self.add_file_data(filename, commit_sha1, line_num)
535
536 - fp = os.popen("git blame --incremental -- " + filename + " " + commit_sha1)
536 + fp = os.popen("git blame --incremental -C -C -- " + filename + " " + commit_sha1)
537 flags = fcntl.fcntl(fp.fileno(), fcntl.F_GETFL)
538 fcntl.fcntl(fp.fileno(), fcntl.F_SETFL, flags | os.O_NONBLOCK)
539 self.io_watch_tag = gobject.io_add_watch(fp, gobject.IO_IN, self.data_ready)