summaryrefslogtreecommitdiff
path: root/line-range.c
diff options
context:
space:
mode:
authorSantiago Torres <santiago@nyu.edu>2016-04-19 17:47:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-04-22 21:06:46 (GMT)
commit78ccd4419525562a2c9d2b7cebddba0914bde151 (patch)
tree34d4ab91fd6fff5cb45d60a908239ee882a6a6fb /line-range.c
parent20972f54d3f17007904cacb829c1feefb84a68dd (diff)
downloadgit-78ccd4419525562a2c9d2b7cebddba0914bde151.zip
git-78ccd4419525562a2c9d2b7cebddba0914bde151.tar.gz
git-78ccd4419525562a2c9d2b7cebddba0914bde151.tar.bz2
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 'line-range.c')
0 files changed, 0 insertions, 0 deletions