summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-05-11 17:25:13 +0200
committerJunio C Hamano <gitster@pobox.com>2015-05-11 11:50:19 -0700
commit5baf37d383ff80e913da1cc99a325a9baadc844c (patch)
tree0753c873a875596e7303fedc9f16f64a1f6d506f /builtin/commit.c
parente911104c84f2efd64aded6831bd7e6625c8a0fab (diff)
downloadgit-5baf37d383ff80e913da1cc99a325a9baadc844c.tar.gz
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>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions