summaryrefslogtreecommitdiff
path: root/t/t1430-bad-ref-name.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2015-08-22 21:06:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-28 08:52:22 -0700
commit0f747f9d37e2b3d7a454029dfcf0065e6914e995 (patch)
tree98d9c11a2b7db605b2f6266b3a80e22c0b57eb9c /t/t1430-bad-ref-name.sh
parentt5004: test ZIP archives with many entries (diff)
downloadtgif-0f747f9d37e2b3d7a454029dfcf0065e6914e995.tar.xz
archive-zip: use a local variable to store the creator version
Use a simpler conditional right next to the code which makes a higher creator version necessary -- namely symlink handling and support for executable files -- instead of a long line with a ternary operator. The resulting code has more lines but is simpler and allows reuse of the value easily. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1430-bad-ref-name.sh')
0 files changed, 0 insertions, 0 deletions