From: Duy Nguyen Date: Wed, 22 Jun 2016 16:01:44 GMT Subject: Re: [PATCH v2 2/2] grep: fix grepping for "intent to add" files Message-ID: In-Reply-To: On Wed, Jun 22, 2016 at 3:13 AM, Eric Sunshine wrote: > On Tue, Jun 21, 2016 at 5:14 PM, Charles Bailey wrote: >> From: Charles Bailey >> >> This reverts commit 4d552005323034c1d6311796ac1074e9a4b4b57e and adds an >> alternative fix to maintain the -L --cached behavior. > > It is common to provide some context along with the (shortened) commit > ID. For instance: > > This reverts 4d55200 (grep: make it clear i-t-a entries are > ignored, 2015-12-27) and adds ... And that could be produced with some git alias like git config alias.one 'show -s --date=short --pretty='format:%h (%s - %ad)' No point in manually copy/pasting the context. -- Duy