path: root/tag.h
diff options
authorSantiago Torres <>2016-04-19 17:47:19 (GMT)
committerJunio C Hamano <>2016-04-22 21:06:46 (GMT)
commit78ccd4419525562a2c9d2b7cebddba0914bde151 (patch)
tree34d4ab91fd6fff5cb45d60a908239ee882a6a6fb /tag.h
parent20972f54d3f17007904cacb829c1feefb84a68dd (diff)
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 <> Signed-off-by: Santiago Torres <> Reviewed-by: Eric Sunshine <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'tag.h')
0 files changed, 0 insertions, 0 deletions