diff options
| author | Santiago Torres <santiago@nyu.edu> | 2016-04-19 13:47:19 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-04-22 14:06:46 -0700 |
| commit | 78ccd4419525562a2c9d2b7cebddba0914bde151 (patch) | |
| tree | 34d4ab91fd6fff5cb45d60a908239ee882a6a6fb /t/t4013/diff.diff_--stat_initial..side | |
| parent | verify-tag: update variable name and type (diff) | |
| download | git-78ccd4419525562a2c9d2b7cebddba0914bde151.tar.gz git-78ccd4419525562a2c9d2b7cebddba0914bde151.zip | |
verify-tag: prepare verify_tag for libification
The current interface of verify_tag() resolves reference names to SHA1,
however, the plan is to make this functionality public and the current
interface is cumbersome for callers: they are expected to supply the
textual representation of a sha1/refname. In many cases, this requires
them to turn the sha1 to hex representation, just to be converted back
inside verify_tag.
Add a SHA1 parameter to use instead of the name parameter, and rename
the name parameter to "name_to_report" for reporting purposes only.
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Santiago Torres <santiago@nyu.edu>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--stat_initial..side')
0 files changed, 0 insertions, 0 deletions
