diff options
author | René Scharfe <l.s.r@web.de> | 2015-08-22 21:06:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-28 08:52:22 -0700 |
commit | 0f747f9d37e2b3d7a454029dfcf0065e6914e995 (patch) | |
tree | 98d9c11a2b7db605b2f6266b3a80e22c0b57eb9c /send-pack.h | |
parent | t5004: test ZIP archives with many entries (diff) | |
download | tgif-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 'send-pack.h')
0 files changed, 0 insertions, 0 deletions