Re: [PATCH v2 1/4] t7401: modernize style
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 14, 2020, 17:06 UTC
- Message-ID
- <xmqqsgcpxilb.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200814144126.GA137865@konoha>
Shourya Shukla <shouryashukla.oo@gmail.com> writes:
> Understood. I will revert the change. Though, what Kaartic suggested, to > do a '--short=7', that will be okay to keep right?
Sure, that is a strict improvement to lose an unneeded process, as long as we know HEAD is guaranteed to be unique with 7 hexdigits (otherwise "cut" to strictly 7 and "rev-parse --short=7 HEAD" would produce different results.
Thanks.