Re: [PATCH v2 2/2] grep: fix grepping for "intent to add" files
On Wed, Jun 22, 2016 at 3:13 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 11 quoted lines
> On Tue, Jun 21, 2016 at 5:14 PM, Charles Bailey <charles@hashpling.org> wrote:
>> From: Charles Bailey <cbailey32@bloomberg.net>
>>
>> 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