Re: [PATCH 7/8] pretty: implement 'summary' format
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Nov 4, 2019, 20:16 UTC
- Message-ID
- <CAPig+cRVgf3q6-mHeMgOThCrhseTGtYt+S6x1ikUSEKGbUTz4g@mail.gmail.com>
- In-Reply-To
- <64b6f7c9d7434ba39929220c1aebcd9a1fd0ad6e.1572897736.git.liu.denton@gmail.com>
On Mon, Nov 4, 2019 at 3:04 PM Denton Liu <liu.denton@gmail.com> wrote:
Show 8 quoted lines
> diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
> @@ -63,6 +63,15 @@ This is designed to be as compact as possible.
> +* 'summary'
> +
> + <abbrev hash> ("<title line>", <short author date>)
> ++
> +This format is useful for referring to other commits when writing a new
> +commit message. Although by default, '<abbrev sha1>' is used, this canWhy does this talk about "sha1" when patch 1/8 removed references to SHA-1 in favor of generic "hashes"?
> +be overridden with '--no-abbrev'. In addition, '<short author date>' can > +be overridden by with '--date='.