Re: [PATCH] Specify a precision for the length of a subject string
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Dec 21, 2011, 11:26 UTC
- Message-ID
- <m2liq6go7y.fsf@igel.home>
- In-Reply-To
- <20111220220754.GC21353@llunet.cs.wisc.edu>
"Nathan W. Panike" <nathan.panike@gmail.com> writes:
> $ git log --pretty='%h %30s' d165204 -1
In C's formatted output this syntax denotes a minimum field width, not a precision, so it will probably be surprising to many people.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."