verify_refname_available(): rename function
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 11 May 2015 15:25:13 +0000 (17:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2015 18:50:19 +0000 (11:50 -0700)
commit5baf37d383ff80e913da1cc99a325a9baadc844c
tree0753c873a875596e7303fedc9f16f64a1f6d506f
parente911104c84f2efd64aded6831bd7e6625c8a0fab
verify_refname_available(): rename function

Rename is_refname_available() to verify_refname_available() and change
its return value from 1 for success to 0 for success, to be consistent
with our error-handling convention. In a moment it will also get a
"struct strbuf *err" parameter.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
refs.c