diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-01-06 17:22:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-07 19:30:08 -0800 |
commit | 15ee2c72e76fa79e957990b43277a4591371e70e (patch) | |
tree | 242a1d2e9e23e6b1492f2580c905ffb945d010dc /t/t5100/embed-from.in | |
parent | files_rename_ref(): tidy up whitespace (diff) | |
download | tgif-15ee2c72e76fa79e957990b43277a4591371e70e.tar.xz |
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 't/t5100/embed-from.in')
0 files changed, 0 insertions, 0 deletions