strip newlines from tree entry names

ported from github.com
Merge branch 'tree-entry-newlines' of https://github.com/mojombo/grit into newlines
Version 2.6.2

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
tests: unmask hidden test and fix test_diff

test_diff was getting masked by the later test_diff definition.
Rename the clobbering test_diff to test_commit_diff so that the
original test_diff is executed.

Fix the test_diff expectations.

Signed-off-by: David Aguilar <davvid@gmail.com>
Fix parsing gitmodules config if unable to detect if for one of submodules

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
version 2.6.3

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix VERSION reading
Merge pull request #35 from zeroyonichihachi/version-const

Fixed issue #32 - Error requiring grit
Version to 2.6.4

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Remove unused method Grit::Repo#archive_tar_gz

This method is not used anywhere in the GitLab code base; we use
Grit::Repo#archive_to_file instead. We are removing #archive_tar_gz
because it is one of the few reasons for keeping an unsafe, deprecated
code path around.
Remove Grit::Repo#archive_tar (not used in GitLab)
Use spawn in Grit::Repo#archive_to_file

This code lacks the sophistication of Posix::Spawn::Child (there is no
timeout for instance) but it builds the pipeline required for
compressing an archive without resorting to shell scripting and string
interpolation.
Remove deprecated shell scripting code path
Separate arguments from options with --
 Merge branch 'no_strings' into 'master'

Remove deprecated shell scripting code path
Specify the compression command as an Array
Use better variable names in Repo#archive_to_file
 Merge branch 'pipe_as_array' into 'master'

Pipe As Array

This is a breaking change.
First cut of allowing advanced search syntax

Refactor for backward compatibility, add test
Improve code style