is_refname_available(): revamp the comments
commit49e818762aaf08791504d4de2076027e7d275844
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 11 May 2015 15:25:04 +0000 (11 17:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2015 18:50:17 +0000 (11 11:50 -0700)
tree21c98c5470dc52b426969749343377d2901f0079
parent433efcad9d3c0c0b30f01b3de2cfa51a854befb3
is_refname_available(): revamp the comments

Change the comments to a running example of running the function with
refname set to "refs/foo/bar". Add some more explanation of the logic.

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