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

Re: [PATCH] diffcore-pickaxe doc: document -S and -G properly

From
Junio C Hamano <gitster@pobox.com>
Date
May 14, 2013, 18:47 UTC
Message-ID
<7v8v3hjt57.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CALkWK0kJ7aksRbtjOesEPvsdx6wZyxxdVHUm_F-jS+Nb3WLSxg@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 24 quoted lines
> Junio C Hamano wrote:
>> Any time you say "This means that", "More precisely", etc. please
>> check if you can rewrite it to lose everything before them (i.e. a
>> vague sentence that needs to be clarified may not have to be there
>> at all).
>
> Right.  I thought both are necessary in this case: the first sentence
> gives easy information to a first-timer.  For someone who has played
> with it a bit, and wants to know more: the second line.
>
>>> ++
>>> +It is often useful when you're looking for an exact string (like a
>>> +function prototype), and want to know the history of that string since
>>> +it first came into being.
>>
>> I think you should remind that the most useful case (and indeed the
>> intended one) is for "an exact string" to be a multi-line "block of
>> text".  People often get a (wrong) impression from the word "string"
>> that it is meant to be used with a single-liner.
>
> Yes, I've been meaning to discuss that.  I've been having some trouble
> with multi-line strings: zsh doesn't insert a TAB in the next line.
> The workaround I have is to write a shell script and execute that.
> How do you do it?

I do not use zsh but with bash+readline the old tradition lnext can be used (see "stty -a" output and it typically is set to ^V), i.e. \C-v followed by \C-i should give you a literal HT.

Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 4 of 20 in “diffcore-pickaxe doc: document -S and -G properly”
  1. diffcore-pickaxe doc: document -S and -G properlyRamkumar Ramachandra, May 14, 2013
  2. Junio C HamanoMay 14, 2013
  3. Ramkumar RamachandraMay 14, 2013
  4. Junio C HamanoMay 14, 2013
  5. Ramkumar RamachandraMay 14, 2013
  6. Jonathan NiederMay 14, 2013
  7. Ramkumar RamachandraMay 14, 2013
  8. Jonathan NiederMay 14, 2013
  9. Junio C HamanoMay 14, 2013
  10. Junio C HamanoMay 14, 2013
  11. Phil HordMay 14, 2013
  12. Phil HordMay 14, 2013
  13. Phil HordMay 14, 2013
  14. Ramkumar RamachandraMay 14, 2013
  15. Junio C HamanoMay 14, 2013
  16. Ramkumar RamachandraMay 14, 2013
  17. Junio C HamanoMay 14, 2013
  18. Ramkumar RamachandraMay 14, 2013
  19. Phil HordMay 14, 2013
  20. Junio C HamanoMay 14, 2013

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.