Files
git/Documentation
Eli Schwartz eccd97d0b0 pretty: add abbrev option to %(describe)
The %(describe) placeholder by default, like `git describe`, uses a
seven-character abbreviated commit object name. This may not be
sufficient to fully describe all commits in a given repository,
resulting in a placeholder replacement changing its length because the
repository grew in size.  This could cause the output of git-archive to
change.

Add the --abbrev option to `git describe` to the placeholder interface
in order to provide tools to the user for fine-tuning project defaults
and ensure reproducible archives.

One alternative would be to just always specify --abbrev=40 but this may
be a bit too biased...

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-11-01 10:34:36 -07:00
..
2021-10-18 15:48:10 -07:00
2019-05-09 00:37:27 +09:00
2020-08-04 18:34:02 -07:00
2021-09-28 10:31:02 -07:00
2020-09-19 15:56:06 -07:00
2021-09-28 10:31:02 -07:00
2019-05-07 13:04:48 +09:00
2019-10-21 12:02:39 +09:00