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

Re: [PATCH v2] push: shell-quote names in suggested push commands

From
NSNahid hasan Sagor <nahidhasan141400@gmail.com>
Date
Nov 27, 2026, 06:06 UTC
Message-ID
<CABQNq+==P8khE+=C-0xF0mrBi1VRpMnd=KmUoqYL8BNMsFp+Dg@mail.gmail.com>
In-Reply-To
<xmqq7bhyes5z.fsf@gitster.g>
On Fri, Nov 27, 2026 at 11:53 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
>
> "Nahid Hasan via GitGitGadget" <gitgitgadget@gmail.com> writes:
>
> This iteration cleanly addresses the points raised on v1.  A tiny
> formatting nit in the proposed log message is the mix of backticked
> tokens like `sq_quote_buf_pretty()` alongside bare ones like HEAD:<dst>
> and setup_default_push_refspecs().  We prefer a basic single quotes, as
> nobody passes the commit log messages through AsciiDoc or Markdown
> processor.  These are plain text.
>

Thank you very much for the review and for pointing out the formatting consistency in the commit message. Using single quotes throughout ('git push', 'builtin/push.c', 'sq_quote_buf_pretty()', 'HEAD:<dst>', and 'setup_default_push_refspecs()') makes complete sense for plain-text logs.

I will wait to see if any other review comments come in before sending v3 or please let me know whenever you would like me to send v3 with this log message update.

Thank you again for your time and guidance.
Previous: Junio C HamanoNext: Patrick Steinhardt
Message 9 of 11 in “push: shell-quote names in suggested push commands”
  1. push: shell-quote names in suggested push commandsNahid Hasan via GitGitGadget, Nov 26, 2026
  2. Junio C HamanoNov 26, 2026
  3. Nahid hasan SagorNov 27, 2026
  4. push: shell-quote names in suggested push commandsNahid Hasan via GitGitGadget, Nov 27, 2026
  5. Nahid hasan SagorNov 27, 2026
  6. Junio C HamanoNov 27, 2026
  7. Nahid hasan SagorNov 27, 2026
  8. Junio C HamanoNov 27, 2026
  9. Nahid hasan SagorNov 27, 2026
  10. Patrick SteinhardtDec 1, 2026
  11. Nahid hasan SagorDec 1, 2026

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.