Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/2] gitview: run blame with -M and -C

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:16

"Aneesh Kumar K.V" [off-list ref] writes:
quoted hunk
From: Aneesh Kumar K.V <redacted>

pass -M  and -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 <redacted>
---
 contrib/gitview/gitview |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview
index 286e974..01128f4 100755
--- a/contrib/gitview/gitview
+++ b/contrib/gitview/gitview
@@ -530,7 +530,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 -M -C -C -- " + filename + " " + commit_sha1)
You do not have to say "-M -C -C"; "-C" would imply "-M"
anyway.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help