aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https/socket.go
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-01-06 17:22:22 +0100
committerJunio C Hamano <gitster@pobox.com>2017-01-07 19:30:08 -0800
commit15ee2c72e76fa79e957990b43277a4591371e70e (patch)
tree242a1d2e9e23e6b1492f2580c905ffb945d010dc /contrib/persistent-https/socket.go
parentfiles_rename_ref(): tidy up whitespace (diff)
downloadgit-15ee2c72e76fa79e957990b43277a4591371e70e.tar.gz
git-15ee2c72e76fa79e957990b43277a4591371e70e.zip
refname_is_safe(): correct docstring
The behavior of refname_is_safe() was changed in e40f355 "refname_is_safe(): insist that the refname already be normalized", 2016-04-27 without a corresponding update to its docstring. The function is in fact stricter than documented, because it now insists that the result of normalizing the part of a refname following "refs/" is identical to that part of the original refname. Fix the docstring. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions