summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-10-13 12:57:02 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-13 17:11:31 +0900
commit8280c4c1ea59bc6d101c5616490627b63934318e (patch)
treef315d92fa31a79e58947d207f689ef9039cc025c /trace.c
parentGit 2.15-rc1 (diff)
downloadtgif-8280c4c1ea59bc6d101c5616490627b63934318e.tar.xz
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 'trace.c')
0 files changed, 0 insertions, 0 deletions