diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-13 12:57:02 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-13 17:11:31 +0900 |
commit | 8280c4c1ea59bc6d101c5616490627b63934318e (patch) | |
tree | f315d92fa31a79e58947d207f689ef9039cc025c /git-compat-util.h | |
parent | Git 2.15-rc1 (diff) | |
download | tgif-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 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions