shlib.sh: set var_have_git_260 for Git v2.6.0 or later
commit8cdb1836b6d6efa0b953f9bf109956f0a2e4ae4f
authorKyle J. McKay <mackyle@gmail.com>
Sun, 10 Dec 2017 17:56:35 +0000 (10 09:56 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 10 Dec 2017 17:56:35 +0000 (10 09:56 -0800)
tree10790a446b10507f1ad6eba8bf0970b96e35fa2c
parent4ff42291c054b533e6081376a5ac394293ea9598
shlib.sh: set var_have_git_260 for Git v2.6.0 or later

When using git cat-file --batch-check there is some additional
performance to be gained by passing the --buffer option along
when the old non-buffered behavior is not required.

The --buffer option first becomes available with Git v2.6.0.

Therefore provide a test for Git v2.6.0 or later to facilitate
supplying the option when running a version of Git with support
for it.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
shlib.sh