summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-02-10 16:12:34 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-10 13:53:18 -0800
commit1cc777de6f4396f578e0f5e6b1a5ec23b96a52f0 (patch)
tree1357866eedf4e28e63e89611cc65a2ae3e0a2585 /t
parentt2019: skip test requiring '*' in a file name non Windows (diff)
downloadtgif-1cc777de6f4396f578e0f5e6b1a5ec23b96a52f0.tar.xz
checkout: reorder check_filename conditional
If we have a "--" flag, we should not be doing DWIM magic based on whether arguments can be filenames. Reorder the conditional to avoid the check_filename() call entirely in this case. The outcome is the same, but the short-circuit makes the dependency more clear. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions