|
From: Matthias S. <zz...@ge...> - 2017-03-02 21:48:48
|
Am 01.03.2017 um 14:24 schrieb Ivo Raisr: > 2017-02-27 21:45 GMT+01:00 Matthias Schwarzott <zz...@ge...>: >> >> I wonder if the parameter 10 in --abbrev=10 should be skipped, now that >> git has an automatic estimation for the number of digits to be used. > > Are you referring to "--short=10" command line option for "git rev-parse"? Exactly. > The manual [1] states that if no length is specified than 7 is used. > Could you give us a reference where the automatic length estimation is > described? > I. > > [1] https://git-scm.com/docs/git-rev-parse/ > Documentation can be seen here (only for the config value): https://git-scm.com/docs/git-config#git-config-coreabbrev I did not find more documentation. The new behaviour was added to git with this merge commit: https://github.com/git/git/commit/d7ae013a3173c621a3556be6834d459ece60e130 A description can be found here: https://github.com/git/git/commit/e6c587c733b4634030b353f4024794b08bc86892 I think the new behaviour it is contained since at least git v2.11 Regards Matthias |