Skip to content

Commit 1be846f

Browse files
kvaneeshgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 30a8448 commit 1be846f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/gitview/gitview

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ class AnnotateWindow(object):
533533

534534
self.add_file_data(filename, commit_sha1, line_num)
535535

536-
fp = os.popen("git blame --incremental -- " + filename + " " + commit_sha1)
536+
fp = os.popen("git blame --incremental -C -C -- " + filename + " " + commit_sha1)
537537
flags = fcntl.fcntl(fp.fileno(), fcntl.F_GETFL)
538538
fcntl.fcntl(fp.fileno(), fcntl.F_SETFL, flags | os.O_NONBLOCK)
539539
self.io_watch_tag = gobject.io_add_watch(fp, gobject.IO_IN, self.data_ready)

0 commit comments

Comments
 (0)