Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitview: run blame with -C -C
author
Aneesh Kumar K.V
<aneesh.kumar@gmail.com>
Wed, 13 Jun 2007 08:46:16 +0000
(14:16 +0530)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 13 Jun 2007 09:14:26 +0000
(
02:14
-0700)
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>
contrib/gitview/gitview
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
30a8448
)
diff --git
a/contrib/gitview/gitview
b/contrib/gitview/gitview
index 93ecfc1bb919162940b7c92493c1cad025ba47cb..593176662050f0c84897759ab7d80f31aabfae53 100755
(executable)
--- 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)