From 41331879b3ceb4b9d07f187d60c89681e16de9fc Mon Sep 17 00:00:00 2001 From: Holger Wansing Date: Sun, 10 Feb 2019 19:27:43 +0100 Subject: Translate svn command into git --- scripts/revert_pot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/revert_pot b/scripts/revert_pot index a46996ed6..5a1fddd2c 100755 --- a/scripts/revert_pot +++ b/scripts/revert_pot @@ -9,7 +9,5 @@ POTDIR="./po/pot" [ -d $POTDIR ] || exit 1 echo "Reverting modified POT files (if any)..." -for POT in $(svn st $POTDIR | grep "^M" | sed "s/^M[[:space:]]*//"); do - svn revert $POT -done +git checkout -- $POTDIR/*.pot echo "done." -- cgit v1.2.3