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

Re: [PATCH v2] Enable setting attach as the default in .gitconfig for git-format-patch.

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 12, 2009, 21:01 UTC
Message-ID
<7vljsbl68q.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<4994459B.8090002@codeweavers.com>
Jeremy White <jwhite@codeweavers.com> writes:
Show 11 quoted lines
> diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
> index 11a7d77..f89f73c 100644
> --- a/Documentation/git-format-patch.txt
> +++ b/Documentation/git-format-patch.txt
> @@ -10,7 +10,8 @@ SYNOPSIS
>  --------
>  [verse]
>  'git format-patch' [-k] [-o <dir> | --stdout] [--thread]
> -		   [--attach[=<boundary>] | --inline[=<boundary>]]
> +		   [--attach[=<boundary>] | --inline[=<boundary>] |
> +		     [--noattach]]

Hmph, don't we usually do this with --no-attach? Especially when format-patch starts using parse_options, I suspect that would be how the API gives negated options natively.

If there are no other issues people find in this patch, I'll amend it to use dash between no and attach and apply (hence no need to resend).

Thanks.
Previous: Jeremy White
Message 2 of 2 in “Enable setting attach as the default in .gitconfig for git-format-patch.”
  1. Enable setting attach as the default in .gitconfig for git-format-patch.Jeremy White, Feb 12, 2009
  2. Junio C HamanoFeb 12, 2009

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.