diff options
| author | René Scharfe <l.s.r@web.de> | 2025-12-28 19:10:51 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-12-29 22:02:54 +0900 |
| commit | 009fceeda26e12e2dbacd04eef47c62d4e206403 (patch) | |
| tree | 93eddb67d7e8cfedecc81fe312e0d075e585c250 /t/t4013/diff.format-patch_--stdout_initial..master^ | |
| parent | b6e4cc8c32850315323961659e553d1d14591f7f (diff) | |
| download | git-009fceeda26e12e2dbacd04eef47c62d4e206403.tar.gz git-009fceeda26e12e2dbacd04eef47c62d4e206403.zip | |
tag: stop using the_repository
gpg_verify_tag() shows the passed in object name on error. Both callers
provide one. It falls back to abbreviated hashes for future callers
that pass in a NULL name. DEFAULT_ABBREV is default_abbrev, which in
turn is a global variable that's populated by git_default_config() and
only available with USE_THE_REPOSITORY_VARIABLE.
Don't let that hypothetical hold us back from getting rid of
the_repository in tag.c. Fall back to full hashes, which are more
appropriate for error messages anyway. This allows us to stop setting
USE_THE_REPOSITORY_VARIABLE.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions
