From 2b4d7c790f10c7ac7bdcf18ba6cf9270e045343d Mon Sep 17 00:00:00 2001 From: "G.raud" Date: Fri, 13 Apr 2018 13:26:54 +0200 Subject: [PATCH] archives2git: [bug] support filenames containing globbing characters --- archives2git | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archives2git b/archives2git index e1b4edc..d6b0c42 100755 --- a/archives2git +++ b/archives2git @@ -314,10 +314,10 @@ do git commit ${AUTHOR:+--author "$author"} -m "$title"${BODY:+"$NL$NL$BODY"} ${DATE:+--date "$date"} $CIARGS if [ -n "$FILTERHEAD" ] then - IFS=$NL + IFS=$NL; set -f git filter-branch $FILTERHEAD -- HEAD^..HEAD rm -R "$(git rev-parse --git-dir)"/refs/original/ - IFS=$OLDIFS + set +f; IFS=$OLDIFS fi if [ -n "$TAG" ] then -- 2.11.4.GIT