summaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-13 03:57:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-10-13 08:11:31 (GMT)
commit8280c4c1ea59bc6d101c5616490627b63934318e (patch)
treef315d92fa31a79e58947d207f689ef9039cc025c /branch.h
parent111ef79afe185f8731920569450f6a65320f5d5f (diff)
downloadgit-8280c4c1ea59bc6d101c5616490627b63934318e.zip
git-8280c4c1ea59bc6d101c5616490627b63934318e.tar.gz
git-8280c4c1ea59bc6d101c5616490627b63934318e.tar.bz2
branch: streamline "attr_only" handling in validate_new_branchname()
The function takes a parameter "attr_only" (which is a name that is hard to reason about, which will be corrected soon) and skips some checks when it is set. Reorganize the conditionals to make it more obvious that some checks are never made when this parameter is set. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
0 files changed, 0 insertions, 0 deletions