[PATCH 1/2] archive: replace write_or_die() calls with write_block_or_die()

2019-04-12 Thread Rohit Ashiwal via GitGitGadget
From: Rohit Ashiwal MinGit for Windows comes without `gzip` bundled inside, git-archive uses `gzip -cn` to compress tar files but for this to work, gzip needs to be present on the host system. In the next commit, we will change the gzip compression so that we no longer spawn `gzip` but let zlib

[PATCH 2/2] archive: avoid spawning `gzip`

2019-04-12 Thread Rohit Ashiwal via GitGitGadget
From: Rohit Ashiwal As we already link to the zlib library, we can perform the compression without even requiring gzip on the host machine. Signed-off-by: Rohit Ashiwal Signed-off-by: Johannes Schindelin --- archive-tar.c | 34 +- 1 file changed, 25 insertions(

[PATCH v4 1/1] t3600: use test_path_is_* functions

2019-02-28 Thread Rohit Ashiwal via GitGitGadget
From: Rohit Ashiwal Replace `test -(d|f|e)` calls in t3600-rm.sh Previously we were using `test -(d|f|e)` to verify the presence of a directory/file, but we already have helper functions, viz, `test_path_is_dir`, `test_path_is_file` and `test_path_is_missing` with better functionality. These he

[PATCH v4 0/1] [GSoC][PATCH] t3600: use test_path_is_* helper functions

2019-02-28 Thread Rohit Ashiwal via GitGitGadget
Replace test -(d|f|e) calls in t3600-rm.sh. Previously we were using test -(d|f|e) to verify the presence of a directory/file, but we already have helper functions, viz, test_path_is_dir, test_path_is_file and test_path_is_missing with better functionality. Rohit Ashiwal (1): t3600: use test_pat

[PATCH v3 0/1] [GSoC][PATCH] t3600: use test_path_is_* helper functions

2019-02-26 Thread Rohit Ashiwal via GitGitGadget
Replace test -(d|f|e) calls in t3600-rm.sh. Previously we were using test -(d|f|e) to verify the presence of a directory/file, but we already have helper functions, viz, test_path_is_dir, test_path_is_file and test_path_is_missing with better functionality. Rohit Ashiwal (1): t3600: use test_pat

[PATCH v3 1/1] t3600: use test_path_is_* functions

2019-02-26 Thread Rohit Ashiwal via GitGitGadget
From: Rohit Ashiwal Replace `test -(d|f|e)` calls in t3600-rm.sh Previously we were using `test -(d|f|e)` to verify the presence of a directory/file, but we already have helper functions, viz, `test_path_is_dir`, `test_path_is_file` and `test_path_is_missing` with better functionality. These he

[PATCH v2 1/1] t3600: use test_path_is_dir and test_path_is_file

2019-02-26 Thread Rohit Ashiwal via GitGitGadget
From: Rohit Ashiwal Previously we were using `test -(d|f)` to verify the presence of a directory/file, but we already have helper functions, viz, `test_path_is_dir` and `test_path_is_file` with better functionality. This patch will replace `test -(d|f)` calls in t3660.sh These helper functions m

[PATCH v2 0/1] [GSoC][PATCH] t3600: use test_path_is_dir and test_path_is_file

2019-02-26 Thread Rohit Ashiwal via GitGitGadget
Previously we were using test -(d|f) to verify the presencee of a directory/file, but we already have helper functions, viz, test_path_is_dir and test_path_is_file with same functionality. This patch will replace test -(d|f) calls in t3600-rm.sh. Rohit Ashiwal (1): t3600: use test_path_is_dir an

[PATCH 1/1] tests: replace `test -(d|f)` with test_path_is_(dir|file)

2019-02-26 Thread Rohit Ashiwal via GitGitGadget
From: Rohit Ashiwal t3600-rm.sh: Previously we were using `test -(d|f)` to verify the presencee of a directory/file, but we already have helper functions, viz, test_path_is_dir and test_path_is_file with same functionality. This patch will replace `test -(d|f)` calls in t3600-rm.sh. Signed-off-b

[PATCH 0/1] [GSoC][PATCH] tests: replace test -(d|f) with test_path_is_(dir|file)

2019-02-26 Thread Rohit Ashiwal via GitGitGadget
Previously we were using test -(d|f) to verify the presencee of a directory/file, but we already have helper functions, viz, test_path_is_dir and test_path_is_file with same functionality. This patch will replace test -(d|f) calls in t3600-rm.sh. Rohit Ashiwal (1): tests: replace `test -(d|f)` w