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

Re: [PATCH] docs: explain how to use `git imap-send --list` command to get a list of available folders

From
Aditya Garg <gargaditya08@live.com>
Date
Jul 22, 2025, 16:35 UTC
Message-ID
<06DB740D-4A94-4588-8666-DEF29C46538C@live.com>
In-Reply-To
<xmqqfreotegx.fsf@gitster.g>
Show 17 quoted lines
> On 22 Jul 2025, at 9:17 PM, Junio C Hamano <gitster@pobox.com> wrote:
> 
> Aditya Garg <gargaditya08@live.com> writes:
> 
>> The output `git imap-send --list` command can be a bit confusing for new
>> users since the IMAP LIST command output is very verbose. Help such users
>> to analyse the same by using an example output.
> 
> The documentation added by 067a91b0 (imap-send: add ability to list
> the available folders, 2025-06-20) is overly insufficient, so let's
> queue this update on top of it.
> 
> But I am not sure if "very verbose" is a cause for worry.  I would
> agree if the argument were that it is not very friendly to end-users
> to throw raw IMAP protocol messages at them.  But it is what needs
> to be fixed in the implementation, not papered over with
> documentation.
It’s not really easy to make it more user friendly. Regex with C is a PITA for me, and different email servers might have slightly different ways to express the same output. Also, this much verbosity gives necessary details to locate subfolders, tags etc.
Previous: Junio C Hamano
Message 4 of 4 in “docs: explain how to use `git imap-send --list` command to get a list of available folders”
  1. docs: explain how to use `git imap-send --list` command to get a list of available foldersAditya Garg, Jul 22, 2025
  2. docs: explain how to use `git imap-send --list` command to get a list of available foldersAditya Garg, Jul 22, 2025
  3. Junio C HamanoJul 22, 2025
  4. Aditya GargJul 22, 2025

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.