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

Re: [PATCH] t/t0015-hash.sh: removed unnecessary '\' at line end

From
jaydeepjd.8914@gmail.com <jaydeepjd.8914@gmail.com>
Date
Feb 10, 2022, 07:11 UTC
Message-ID
<bc36eab7-62ae-2e67-aa4f-cceec5c86012@gmail.com>
In-Reply-To
<xmqq4k57xlot.fsf@gitster.g>
Thanks for the quick response.
Show 8 quoted lines
> > I have a few more questions regarding contributions.
> > I have seen that some command documentations lack consistent synopsis compared to other commands.
> > Is it on purpose or are improvements to those documentations welcome ?
> 
> That's hard to answer, as what you perceive as "lack consistent" may
> or may not be consistent from other people's perspective, without a
> concrete "here is the comparison I am talking about, and this makes
> the two comparable" patch.
Here is an example. The synopsis of command `send-email` vs synopsis of `commit`:

``` git send-email [<options>] <file|directory>…​ git send-email [<options>] <format-patch options> git send-email --dump-aliases ```

```
git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]
	   [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]
	   [-F <file> | -m <msg>] [--reset-author] [--allow-empty]
	   [--allow-empty-message] [--no-verify] [-e] [--author=<author>]
	   [--date=<date>] [--cleanup=<mode>] [--[no-]status]
	   [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]
	   [(--trailer <token>[(=|:)<value>])…​] [-S[<keyid>]]
	   [--] [<pathspec>…​]
```
The `commit` synopsis has a more verbose overview of all the options available compared to `send-email` synopsis.
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 8 in “t/t0015-hash.sh: removed unnecessary '\' at line end”
  1. t/t0015-hash.sh: removed unnecessary '\' at line endJaydeep P Das, Feb 8, 2022
  2. t/t0015-hash.sh: removed unnecessary '\' at line endJaydeep P Das, Feb 8, 2022
  3. Bagas SanjayaFeb 10, 2022
  4. Junio C HamanoFeb 10, 2022
  5. jaydeepjd.8914@gmail.comFeb 10, 2022
  6. Junio C HamanoFeb 10, 2022
  7. jaydeepjd.8914@gmail.comFeb 10, 2022
  8. Junio C HamanoFeb 10, 2022

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.