提交 1be846f6 编写于 作者: A Aneesh Kumar K.V 提交者: Junio C Hamano

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: NAneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 30a84487
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册