Re: linux-next: Fixes tag needs some work in the xfs tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

On Wed, 30 Jan 2019 09:08:02 +1100 Dave Chinner <david@xxxxxxxxxxxxx> wrote:
>
> Might be worth adding this to the boiler plate code:
> 
> 	This can be fixed by adding the following to your ~/.gitconfig file:
> 
> 	[core]
> 		abbrev = 12

Actually, since git v2.11 (released Nov 29, 2016), abbrev = auto (which
is the default) means that the default scales with the size of the
repository.  For Linus' tree, that currently produces 12 digit commit
SHA1 abbreviations, but will probably soon become 13.  So the best
currently, is to *not* set core.abbrev (or set it to something above 12
(for future robustness).

See
https://lore.kernel.org/lkml/20181220000112.24891-1-avarab@xxxxxxxxx/

-- 
Cheers,
Stephen Rothwell

Attachment: pgpcHDoDaMD6m.pgp
Description: OpenPGP digital signature


[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux