git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Annotating patches inside diff
@ 2008-12-10 13:45 Jakub Narebski
  2008-12-10 16:58 ` Johannes Schindelin
  2008-12-10 18:40 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Jakub Narebski @ 2008-12-10 13:45 UTC (permalink / raw)
  To: git

I remember that long time ago on git mailing list there was discussed 
extending git-apply and friends (including git-am), to be able to 
ignore lines in patches with selected special prefix, different from 
'@' for chunks headers, ' ' for context, '+'/'-' for added/deleted 
lines.  IIRC it was chose '|' for this purpose.

This way you could annotate patch

@@ -4667,7 +4667,6 @@ HTML
                                  hash_base => $parent_commit);
                print "<td class=\"linenr\">";
                print $cgi->a({ -href => "$blamed#l$orig_lineno",
| moved to <tr>
-                               -id => "l$lineno",
                                -class => "linenr" },
                              esc_html($lineno));
                print "</td>";


Was it accepted or dropped, or is this feature present but not 
documented?
-- 
Jakub Narebski
Poland

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-10 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 13:45 Annotating patches inside diff Jakub Narebski
2008-12-10 16:58 ` Johannes Schindelin
2008-12-10 18:40 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).