git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] gitweb: blame: Print just a single new line char per table row

From
Junio C Hamano <junkio@cox.net>
Date
Oct 5, 2006, 02:35 UTC
Message-ID
<7vejtnij5n.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061005005926.57010.qmail@web31808.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
> This makes cut-and-paste from blame legible, else after
> pasting it is broken into too many lines.
>
> Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>

I have to say the browser is seriously broken if whitespaces between <tr> and <td>, </td> and next <td>, </td> and </tr> makes a difference to its behaviour. Aren't there a way to tell the browser to cut "visually"? E.g. "The area I want to cut is from this data column, and lines from here to there. I do not want the leftmost two columns (commit-8 and lineno)".

I do not mind applying this, but that is only because it does not make its source any less readable. It does make things harder to debug if somebody is debugging its output by reading the generated raw HTML, so it is not like there is no downside.

You might want to run links (or lynx) in screen ;-). Screen supports left- (or right-, or both-sides) bounded cut which I find extremely useful.

Previous: Luben TuikovNext: Luben Tuikov
Message 2 of 14 in “gitweb: blame: Print just a single new line char per table row”
  1. 1/2 gitweb: blame: Print just a single new line char per table rowLuben Tuikov, Oct 5, 2006
  2. Junio C HamanoOct 5, 2006
  3. Luben TuikovOct 5, 2006
  4. perhaps time to remove git_blame from gitweb, and git-annotate?Junio C Hamano, Oct 5, 2006
  5. Johannes SchindelinOct 6, 2006
  6. Luben TuikovOct 6, 2006
  7. Martin Langhoff (CatalystIT)Oct 7, 2006
  8. Petr BaudisOct 6, 2006
  9. Luben TuikovOct 6, 2006
  10. Petr BaudisOct 6, 2006
  11. Luben TuikovOct 6, 2006
  12. 1/1 Remove git-annotate.perl and create a builtin-alias for git-blameRyan Anderson, Oct 9, 2006
  13. Ryan AndersonOct 9, 2006
  14. Obituary for git-annotateJunio C Hamano, Oct 9, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.