From d7602c355260a4e6f95c9dfab348727c53afe820 Mon Sep 17 00:00:00 2001 From: solarpanzer Date: Thu, 8 Jul 2021 13:39:03 +0200 Subject: [PATCH] Support msys-based git on Windows. --- git-splits | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/git-splits b/git-splits index 7c7660a..e658eff 100755 --- a/git-splits +++ b/git-splits @@ -49,6 +49,10 @@ case "${OSTYPE}" in grep='grep' xargs='xargs' ;; + msys) + grep='grep' + xargs='xargs' + ;; *) echo 'ERROR' echo "unsupported operating system: ${OSTYPE}" @@ -154,4 +158,4 @@ git filter-branch \ | '"${xargs}"' -0 -r git rm --cached -r ' \ -- \ - "${branch_name}" \ No newline at end of file + "${branch_name}"