summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Wansing <hwansing@mailbox.org>2019-02-10 19:27:43 +0100
committerHolger Wansing <hwansing@mailbox.org>2019-02-10 19:27:43 +0100
commit41331879b3ceb4b9d07f187d60c89681e16de9fc (patch)
treef391701d1bf1f3c60518c3ca6c277e2d534c5cf7
parent0afb1374a5a5ed919b5882dd76449f1c435e44fc (diff)
downloadinstallation-guide-41331879b3ceb4b9d07f187d60c89681e16de9fc.zip
Translate svn command into git
-rwxr-xr-xscripts/revert_pot4
1 files changed, 1 insertions, 3 deletions
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."